mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Generalize throwTypeError.
This commit is contained in:
parent
aba2afece7
commit
0960f0cd9e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user