Mercurial > urweb
comparison 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 |
comparison
equal
deleted
inserted
replaced
282:0236d9412ad2 | 283:c0e4ac23522d |
---|---|
53 | ERecord xes => List.exists (fn (_, e, _) => impure e) xes | 53 | ERecord xes => List.exists (fn (_, e, _) => impure e) xes |
54 | EField (e, _) => impure e | 54 | EField (e, _) => impure e |
55 | 55 |
56 | ECase (e, pes, _) => impure e orelse List.exists (fn (_, e) => impure e) pes | 56 | ECase (e, pes, _) => impure e orelse List.exists (fn (_, e) => impure e) pes |
57 | 57 |
58 | EError (e, _) => impure e | |
59 | |
58 | EStrcat (e1, e2) => impure e1 orelse impure e2 | 60 | EStrcat (e1, e2) => impure e1 orelse impure e2 |
59 | 61 |
60 | ESeq (e1, e2) => impure e1 orelse impure e2 | 62 | ESeq (e1, e2) => impure e1 orelse impure e2 |
61 | ELet (_, _, e1, e2) => impure e1 orelse impure e2 | 63 | ELet (_, _, e1, e2) => impure e1 orelse impure e2 |
62 | 64 |