1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Fix the type of the handler.

This commit is contained in:
Rob Rix 2018-07-04 12:20:51 -04:00
parent 4f345c7603
commit b046630c43

View File

@ -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