diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-05 21:25:13 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2024-05-05 21:25:13 -0700 |
| commit | df7dab936f11310cf8e422eb4c06b2815eaf2807 (patch) | |
| tree | 0a2ef1c6c89e5187e4082adf22d4ab87925cd7dd /elab.sml | |
| parent | Add tuples. (diff) | |
| download | sml-df7dab936f11310cf8e422eb4c06b2815eaf2807.tar.zst | |
Fix a bug in pattern matching.
Diffstat (limited to 'elab.sml')
| -rw-r--r-- | elab.sml | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -117,10 +117,7 @@ struct (enumerate firstRow) in case refutablePattern of - NONE => - if null rows - then hd actions - else raise Fail "redundant match" + NONE => hd actions | SOME (i, _) => let val (patterns, occurrences) = |
