This commit is contained in:
msyds committed 2026-09-02 13:25:31 -06:00
1 parent 4d96ebfc31
commit 148b6b0d8b
7 files changed
+172 -148

No files matched your search

+2
View File
@@ -81,6 +81,7 @@ data Prim e
| PrimZeroP e
| PrimNewline
| PrimMakeClosure { code :: e, env :: List e }
| PrimGetEnv
| PrimEnv
| PrimEnvRef Int
| PrimCallCC e
@@ -168,6 +169,7 @@ primDatumIso namefn a = S.match
$ S.With (. ht1 "zero?")
$ S.With (. ht0 "newline")
$ S.With (. ht1' "make-closure")
$ S.With (. ht0 "get-env")
$ S.With (. ht0 "env")
$ S.With (. S.headTagged1 (namefn "env-ref") S.int)
$ S.With (. ht1 "call/cc")