summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:43:55 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:43:55 -0400
commit966f716a755bd954d817b43d1efaaeb6f939ad89 (patch)
tree3bdf9ae5748bc5a64a10a60633119f8270744818 /src
parent51e34115de1d243904e9b49c3839fde9c91c96c9 (diff)
Show XML
Diffstat (limited to 'src')
-rw-r--r--src/monoize.sml6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml
index 7523f2dd..b816b287 100644
--- a/src/monoize.sml
+++ b/src/monoize.sml
@@ -900,6 +900,12 @@ fun monoExp (env, st, fm) (all as (e, loc)) =
((L'.EFfi ("Basis", "boolToString"), loc), fm)
| L.EFfi ("Basis", "show_time") =>
((L'.EFfi ("Basis", "timeToString"), loc), fm)
+ | L.ECApp ((L.ECApp ((L.ECApp ((L.EFfi ("Basis", "show_xml"), _), _),_), _), _), _) =>
+ let
+ val s = (L'.TFfi ("Basis", "string"), loc)
+ in
+ ((L'.EAbs ("s", s, s, (L'.ERel 0, loc)), loc), fm)
+ end
| L.ECApp ((L.EFfi ("Basis", "mkShow"), _), t) =>
let
val t = monoType env t