mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
Fix the type of the handler.
This commit is contained in:
parent
4f345c7603
commit
b046630c43
@ -92,7 +92,7 @@ runTypes = runTypeMap . runTypeError
|
|||||||
runTypesWith :: ( Effectful m
|
runTypesWith :: ( Effectful m
|
||||||
, Monad (m effects)
|
, Monad (m effects)
|
||||||
)
|
)
|
||||||
=> (forall resume . TypeError resume -> m effects resume)
|
=> (forall resume . TypeError resume -> m (State TypeMap ': effects) resume)
|
||||||
-> m (Resumable TypeError ': State TypeMap ': effects) a
|
-> m (Resumable TypeError ': State TypeMap ': effects) a
|
||||||
-> m effects a
|
-> m effects a
|
||||||
runTypesWith with = runTypeMap . runTypeErrorWith with
|
runTypesWith with = runTypeMap . runTypeErrorWith with
|
||||||
|
Loading…
Reference in New Issue
Block a user