diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-05-28 10:35:25 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-05-28 10:35:25 -0400 |
commit | 6a6c98d74f0eb61b52e8adc5385698a224eeccc1 (patch) | |
tree | bc9e633b76c75ea47d6cfdb826c549ed7cd4c66a /src/reduce.sml | |
parent | 3cb644caeed50e5c82778b5ed7c165950655109a (diff) |
Demo compiles with pattern-matching-fu
Diffstat (limited to 'src/reduce.sml')
-rw-r--r-- | src/reduce.sml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reduce.sml b/src/reduce.sml index 9460d3fe..a6c0b38a 100644 --- a/src/reduce.sml +++ b/src/reduce.sml @@ -390,6 +390,9 @@ fun kindConAndExp (namedC, namedE) = | _ => default () end + | ECase (_, [((PRecord [], _), e)], _) => exp env e + | ECase (_, [((PWild, _), e)], _) => exp env e + | ECase (e, pes, {disc, result}) => let fun patBinds (p, _) = |