summaryrefslogtreecommitdiff
path: root/src/main.ml
diff options
context:
space:
mode:
authorSon Ho2021-11-29 23:20:02 +0100
committerSon Ho2021-11-29 23:20:02 +0100
commit3952c51d7e63b754642ef2e1ea8b64d4aceccdc6 (patch)
tree1e1b01516a5a2f44a09fac6ba37526efe6810a70 /src/main.ml
parent46c0648948caa9f57cdd7e8561470e598eb814ab (diff)
Start deriving formatters for debugging
Diffstat (limited to 'src/main.ml')
-rw-r--r--src/main.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.ml b/src/main.ml
index 36b5dd71..52fd8ea4 100644
--- a/src/main.ml
+++ b/src/main.ml
@@ -5,6 +5,10 @@ module T = Types
module A = CfimAst
module I = Interpreter
+type test = Test [@@deriving show]
+
+let _ = show_test Test
+
(* This is necessary to have a backtrace when raising exceptions - for some
* reason, the -g option doesn't work *)
let () = Printexc.record_backtrace true