diff src/cjrize.sml @ 290:df00701f2323

'read' type class
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 11:53:30 -0400
parents 4260ad920c36
children 59dc042629b9
line wrap: on
line diff
--- a/src/cjrize.sml	Sun Sep 07 11:41:04 2008 -0400
+++ b/src/cjrize.sml	Sun Sep 07 11:53:30 2008 -0400
@@ -211,6 +211,13 @@
         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