diff src/mono_reduce.sml @ 283:c0e4ac23522d

'error' function
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 10:02:27 -0400
parents fdd7a698be01
children df00701f2323
line wrap: on
line diff
--- a/src/mono_reduce.sml	Sun Sep 07 09:28:13 2008 -0400
+++ b/src/mono_reduce.sml	Sun Sep 07 10:02:27 2008 -0400
@@ -55,6 +55,8 @@
 
       | ECase (e, pes, _) => impure e orelse List.exists (fn (_, e) => impure e) pes
 
+      | EError (e, _) => impure e
+
       | EStrcat (e1, e2) => impure e1 orelse impure e2
 
       | ESeq (e1, e2) => impure e1 orelse impure e2