mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
364 B
364 B
Checks a corner case with type checking involving destructuring binds.
The binds were causing some sequences of lets to be unnecessarily recursive.
scratch/main> builtins.merge
unique ability Nate where
nate: (Boolean, Nat)
antiNate: ()
sneezy: (Nat -> {d} a) -> '{Nate,d} a
sneezy dee _ =
(_,_) = nate
antiNate
dee 1