diff options
author | 2018-10-19 15:38:55 -0400 | |
---|---|---|
committer | 2018-10-19 15:38:55 -0400 | |
commit | e798117b42c5df30d1b3778d6414467e8e7b1e04 (patch) | |
tree | 6a3b526bb055fc3dfef216117153ffc9fcbd36c1 /src | |
parent | 5eaaa94db962bbc3e42578bce3463ff2f942d602 (diff) |
unsafeSerialized[To|From]String
Diffstat (limited to 'src')
-rw-r--r-- | src/monoize.sml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index 11c6ea31..dfa88be3 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -3953,6 +3953,20 @@ fun monoExp (env, st, fm) (all as (e, loc)) = loc)), loc), fm) end + | L.ECApp ((L.EFfi ("Basis", "unsafeSerializedToString"), _), _) => + let + val t = (L'.TFfi ("Basis", "string"), loc) + in + ((L'.EAbs ("v", t, t, (L'.ERel 0, loc)), loc), + fm) + end + | L.ECApp ((L.EFfi ("Basis", "unsafeSerializedFromString"), _), _) => + let + val t = (L'.TFfi ("Basis", "string"), loc) + in + ((L'.EAbs ("v", t, t, (L'.ERel 0, loc)), loc), + fm) + end | L.EFfiApp ("Basis", "url", [(e, _)]) => let |