functions rewrite with ocanren syntax extension

This commit is contained in:
ProgramSnail 2026-01-27 19:39:56 +03:00
parent f15613d192
commit 118834c9b7
3 changed files with 399 additions and 1 deletions

View file

@ -354,9 +354,12 @@ struct
run q (fun q -> eval_prog (inj all_prog) q)
(fun qs -> qs#reify prj_exn)
(* TODO: fix *)
(* let empty_prog = (Prog.T (List.Nil, FunDecl.T (List.Nil, Body.T List.Nil))) *)
(* TODO: fix *)
(* let%expect_test "empty" = *)
(* eval_prog_fwd (Prog.T ([], FunDecl.T ([], []))); *)
(* eval_prog_fwd empty_prog; *)
(* Printf.printf "done!"; *)
(* [%expect {| done! |}] *)