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 /tests | |
parent | a777dd13f4075418ec883f4eb42e5de1739d50d1 (diff) |
Merge PVar and PWild, to get more reasonable type-class resolution
Diffstat (limited to 'tests')
-rw-r--r-- | tests/localInstance.ur | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/localInstance.ur b/tests/localInstance.ur new file mode 100644 index 00000000..81a65ddb --- /dev/null +++ b/tests/localInstance.ur @@ -0,0 +1,8 @@ +datatype foo = Bar + +val x = + let + val _ = mkShow (fn Bar => "Bar") + in + show Bar + end |