1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Generalize throwTypeError.

This commit is contained in:
Rob Rix 2018-10-22 12:26:54 -04:00
parent aba2afece7
commit 0960f0cd9e

View File

@ -99,9 +99,10 @@ throwTypeError :: ( Member (Resumable (BaseError TypeError)) sig
, Member (Reader ModuleInfo) sig
, Member (Reader Span) sig
, Carrier sig m
, Monad m
)
=> TypeError resume
-> Evaluator term address Type m resume
-> m resume
throwTypeError = throwBaseError
runTypeMap :: (Carrier sig m, Effect sig)