mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-17 13:27:30 +03:00
354 B
354 B
structural type Foo f
= Foo (f ())
unique type Baz = Baz (Foo Bar)
unique type Bar
= Bar Baz
Loading changes detected in scratch.u.
Kind mismatch arising from
3 | unique type Baz = Baz (Foo Bar)
Foo expects an argument of kind: Type -> Type; however, it
is applied to Bar which has kind: Type.