diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-22 16:15:56 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-22 16:15:56 -0400 |
commit | 7e1e019f3fef4c229c06ba2c0c2aa3ec021eedad (patch) | |
tree | a765ee0cd11f8b42d77606fa4d133daceefff056 /src/monoize.sml | |
parent | c4becb5fa4357e7a27e6536f3a20e3d5d6136cb0 (diff) |
Initial support for char in SQL
Diffstat (limited to 'src/monoize.sml')
-rw-r--r-- | src/monoize.sml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monoize.sml b/src/monoize.sml index a01f953f..6512eb1e 100644 --- a/src/monoize.sml +++ b/src/monoize.sml @@ -1921,6 +1921,10 @@ fun monoExp (env, st, fm) (all as (e, loc)) = ((L'.EAbs ("x", (L'.TFfi ("Basis", "string"), loc), (L'.TFfi ("Basis", "string"), loc), (L'.EFfiApp ("Basis", "sqlifyString", [(L'.ERel 0, loc)]), loc)), loc), fm) + | L.EFfi ("Basis", "sql_char") => + ((L'.EAbs ("x", (L'.TFfi ("Basis", "char"), loc), (L'.TFfi ("Basis", "string"), loc), + (L'.EFfiApp ("Basis", "sqlifyChar", [(L'.ERel 0, loc)]), loc)), loc), + fm) | L.EFfi ("Basis", "sql_time") => ((L'.EAbs ("x", (L'.TFfi ("Basis", "time"), loc), (L'.TFfi ("Basis", "string"), loc), (L'.EFfiApp ("Basis", "sqlifyTime", [(L'.ERel 0, loc)]), loc)), loc), |