Mercurial > urweb
diff src/monoize.sml @ 2029:dfa35ca83d92
'sql_injectable_prim' instance for 'url'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 15 Jun 2014 10:48:53 -0400 |
parents | 73e54a6aba79 |
children | 6be31671911b |
line wrap: on
line diff
--- a/src/monoize.sml Sun Jun 15 09:27:41 2014 -0400 +++ b/src/monoize.sml Sun Jun 15 10:48:53 2014 -0400 @@ -2208,6 +2208,10 @@ ((L'.EAbs ("x", (L'.TFfi ("Basis", "string"), loc), (L'.TFfi ("Basis", "string"), loc), (L'.EFfiApp ("Basis", "sqlifyString", [((L'.ERel 0, loc), (L'.TFfi ("Basis", "string"), loc))]), loc)), loc), fm) + | L.EFfi ("Basis", "sql_url") => + ((L'.EAbs ("x", (L'.TFfi ("Basis", "string"), loc), (L'.TFfi ("Basis", "string"), loc), + (L'.EFfiApp ("Basis", "sqlifyString", [((L'.ERel 0, loc), (L'.TFfi ("Basis", "string"), loc))]), loc)), loc), + fm) | L.ECApp ((L.EFfi ("Basis", "sql_prim"), _), t) => let val t = monoType env t