This commit is contained in:
1 parent
03797d573b
commit
276c2c1249
3 files changed
+17
-15
No files matched your search
@@ -81,6 +81,7 @@ data Prim e
|
||||
| PrimZeroP e
|
||||
| PrimNewline
|
||||
| PrimMakeClosure { code :: e, env :: List e }
|
||||
| PrimEnv
|
||||
| PrimEnvRef Int
|
||||
| PrimEnvCode e
|
||||
| PrimCallCC e
|
||||
@@ -167,6 +168,7 @@ primDatumIso namefn a = S.match
|
||||
$ S.With (. ht1 "zero?")
|
||||
$ S.With (. ht0 "newline")
|
||||
$ S.With (. ht1' "make-closure")
|
||||
$ S.With (. ht0 "env")
|
||||
$ S.With (. S.headTagged1 (namefn "env-ref") S.int)
|
||||
$ S.With (. ht1 "env-code")
|
||||
$ S.With (. ht1 "call/cc")
|
||||
|
||||
Reference in new issue
Block a user