mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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 ModuleInfo) sig
|
||||||
, Member (Reader Span) sig
|
, Member (Reader Span) sig
|
||||||
, Carrier sig m
|
, Carrier sig m
|
||||||
|
, Monad m
|
||||||
)
|
)
|
||||||
=> TypeError resume
|
=> TypeError resume
|
||||||
-> Evaluator term address Type m resume
|
-> m resume
|
||||||
throwTypeError = throwBaseError
|
throwTypeError = throwBaseError
|
||||||
|
|
||||||
runTypeMap :: (Carrier sig m, Effect sig)
|
runTypeMap :: (Carrier sig m, Effect sig)
|
||||||
|
Loading…
Reference in New Issue
Block a user