Mercurial > urweb
diff src/monoize.sml @ 727:ba4c230b7231
Show XML
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 16 Apr 2009 12:43:55 -0400 |
parents | 4c5796512edc |
children | 1b1047992ecf |
line wrap: on
line diff
--- a/src/monoize.sml Thu Apr 16 12:36:01 2009 -0400 +++ b/src/monoize.sml Thu Apr 16 12:43:55 2009 -0400 @@ -900,6 +900,12 @@ ((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