diff src/cjr.sml @ 283:c0e4ac23522d

'error' function
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 10:02:27 -0400
parents 0236d9412ad2
children 4260ad920c36
line wrap: on
line diff
--- a/src/cjr.sml	Sun Sep 07 09:28:13 2008 -0400
+++ b/src/cjr.sml	Sun Sep 07 10:02:27 2008 -0400
@@ -66,6 +66,8 @@
 
        | ECase of exp * (pat * exp) list * { disc : typ, result : typ }
 
+       | EError of exp * typ
+
        | EWrite of exp
        | ESeq of exp * exp
        | ELet of string * typ * exp * exp