mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
fix higher-rank test
Add t to constructor to avoid kind defaulting
This commit is contained in:
parent
f545ef2213
commit
03062e5e48
@ -43,7 +43,7 @@ Functor.blah = cases Functor f ->
|
||||
This example is similar, but involves abilities:
|
||||
|
||||
```unison
|
||||
unique ability Remote t where doRemoteStuff : ()
|
||||
unique ability Remote t where doRemoteStuff : t ()
|
||||
unique type Loc = Loc (forall t a . '{Remote t} a ->{Remote t} t a)
|
||||
|
||||
Loc.blah : Loc -> ()
|
||||
|
@ -80,7 +80,7 @@ Functor.blah = cases Functor f ->
|
||||
This example is similar, but involves abilities:
|
||||
|
||||
```unison
|
||||
unique ability Remote t where doRemoteStuff : ()
|
||||
unique ability Remote t where doRemoteStuff : t ()
|
||||
unique type Loc = Loc (forall t a . '{Remote t} a ->{Remote t} t a)
|
||||
|
||||
Loc.blah : Loc -> ()
|
||||
|
Loading…
Reference in New Issue
Block a user