diff options
author | Adam Chlipala <adam@chlipala.net> | 2016-02-07 19:59:10 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2016-02-07 19:59:10 -0500 |
commit | 5579b84a97cb942fdfd4c4898793f9de95bc03d1 (patch) | |
tree | 2fd60da2fe681fa69d712efdeb36b720c72b9820 /src/unnest.sml | |
parent | a777dd13f4075418ec883f4eb42e5de1739d50d1 (diff) |
Merge PVar and PWild, to get more reasonable type-class resolution
Diffstat (limited to 'src/unnest.sml')
-rw-r--r-- | src/unnest.sml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unnest.sml b/src/unnest.sml index 3034eb6e..7469ffd4 100644 --- a/src/unnest.sml +++ b/src/unnest.sml @@ -256,8 +256,7 @@ fun exp ((ns, ks, ts), e as old, st : state) = fun doVars ((p, _), ts) = case p of - PWild => ts - | PVar xt => xt :: ts + PVar xt => xt :: ts | PPrim _ => ts | PCon (_, _, _, NONE) => ts | PCon (_, _, _, SOME p) => doVars (p, ts) |