diff options
author | Sergey Mironov <grrwlf@gmail.com> | 2013-10-07 14:08:10 +0400 |
---|---|---|
committer | Sergey Mironov <grrwlf@gmail.com> | 2013-10-07 14:08:10 +0400 |
commit | 02930df67454948d2448417cc369ed40ca7107fa (patch) | |
tree | 21fe674ade327eba98964f3060a35e7f73a1def4 /src | |
parent | 0c8bb96d679f083438ceb0bff70d79cb6ff19f7f (diff) |
Add show instance for 'id' type
Diffstat (limited to 'src')
-rw-r--r-- | src/monoize.sml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index ad53cf18..2b604325 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -1267,6 +1267,12 @@ fun monoExp (env, st, fm) (all as (e, loc)) = in ((L'.EAbs ("s", s, s, (L'.ERel 0, loc)), loc), fm) end + | L.EFfi ("Basis", "show_id") => + let + val s = (L'.TFfi ("Basis", "string"), loc) + in + ((L'.EAbs ("s", s, s, (L'.ERel 0, loc)), loc), fm) + end | L.EFfi ("Basis", "show_char") => ((L'.EFfi ("Basis", "charToString"), loc), fm) | L.EFfi ("Basis", "show_bool") => |