fix: incorrect use of outParam
We have ``` class BindAsync (n : Type u → Type v) (k : outParam $ Type u → Type u) instance : BindAsync BaseIO (EIOTask ε) instance : BindAsync BaseIO OptionIOTask instance [BindAsync n k] [Pure n] [Pure k] : BindAsync n (ExceptT ε k) instance [BindAsync n k] [Pure n] [Pure k] : BindAsync n (OptionT k) ``` See discussion at: https://leanprover.zulipchat.com/#narrow/stream/147302-lean4-maintainers/topic/Increasing.20.60Expr.2Ehash.60.20to.2064.20bits/near/313183466
This commit is contained in:
parent
dc937cb1f9
commit
8fbb866798
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class BindSync (m : Type u → Type v) (n : outParam $ Type u' → Type w) (k :
|
|||
|
||||
export BindSync (bindSync)
|
||||
|
||||
class BindAsync (n : Type u → Type v) (k : outParam $ Type u → Type u) where
|
||||
class BindAsync (n : Type u → Type v) (k : Type u → Type u) where
|
||||
/-- Perform a asynchronous task after another (a)synchronous task completes successfully. -/
|
||||
bindAsync {α β : Type u} : k α → (α → n (k β)) → n (k β)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue