aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cjrize.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 11:53:30 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-07 11:53:30 -0400
commitf8d1a7fcf13f655200be366733c24233b5df7f9a (patch)
treed2b1505cfdcef966f5410d29930821ab39fa1818 /src/cjrize.sml
parent9ae8932c978ab9c12f683745b47b3e0898581635 (diff)
'read' type class
Diffstat (limited to 'src/cjrize.sml')
-rw-r--r--src/cjrize.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cjrize.sml b/src/cjrize.sml
index a45cf02d..e137c6fd 100644
--- a/src/cjrize.sml
+++ b/src/cjrize.sml
@@ -211,6 +211,13 @@ fun cifyExp (eAll as (e, loc), sm) =
in
((L'.ECon (dk, pc, eo), loc), sm)
end
+ | L.ESome (t, e) =>
+ let
+ val (t, sm) = cifyTyp (t, sm)
+ val (e, sm) = cifyExp (e, sm)
+ in
+ ((L'.ESome (t, e), loc), sm)
+ end
| L.EFfi mx => ((L'.EFfi mx, loc), sm)
| L.EFfiApp (m, x, es) =>
let