mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Generalize unify.
This commit is contained in:
parent
3c267f2757
commit
9fbbd9a667
@ -211,10 +211,11 @@ unify :: ( Member (Reader ModuleInfo) sig
|
||||
, Member (Resumable (BaseError TypeError)) sig
|
||||
, Member (State TypeMap) sig
|
||||
, Carrier sig m
|
||||
, Monad m
|
||||
)
|
||||
=> Type
|
||||
-> Type
|
||||
-> Evaluator term address Type m Type
|
||||
-> m Type
|
||||
unify a b = do
|
||||
a' <- prune a
|
||||
b' <- prune b
|
||||
|
Loading…
Reference in New Issue
Block a user