diff options
author | Adam Chlipala <adamc@hcoop.net> | 2010-01-01 12:48:06 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2010-01-01 12:48:06 -0500 |
commit | 869bd80eacff24151b92e496ee6b0cade56d9e59 (patch) | |
tree | 3c64d22855203be239df77b4bd617fbcf3a6257a /src/monoize.sml | |
parent | 66ea568ab5cd2b187a305ef6d22c8cfaf2a6c629 (diff) |
Proper [un]urlification of unit
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 4d3bfda2..ff5a0f3a 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -433,7 +433,8 @@ fun fooifyExp fk env = end | _ => case t of - L'.TFfi (m, x) => ((L'.EFfiApp (m, fk2s fk ^ "ify" ^ capitalize x, [e]), loc), fm) + L'.TFfi ("Basis", "unit") => ((L'.EPrim (Prim.String ""), loc), fm) + | L'.TFfi (m, x) => ((L'.EFfiApp (m, fk2s fk ^ "ify" ^ capitalize x, [e]), loc), fm) | L'.TRecord [] => ((L'.EPrim (Prim.String ""), loc), fm) | L'.TRecord ((x, t) :: xts) => |