mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Reformat the signature for typecheckingAnalysis.
This commit is contained in:
parent
7d336c9d9a
commit
89cdd3bda3
@ -116,7 +116,15 @@ runFile file = traverse run file
|
||||
v <$ for_ bs (unify v))
|
||||
. convergeTerm (fix (cacheTerm . eval typecheckingAnalysis))
|
||||
|
||||
typecheckingAnalysis :: (Alternative m, Carrier sig m, Member Fresh sig, Member (State (Set.Set Constraint)) sig, Member (State (Heap User (Term Monotype Meta))) sig, MonadFail m) => Analysis User (Term Monotype Meta) m
|
||||
typecheckingAnalysis
|
||||
:: ( Alternative m
|
||||
, Carrier sig m
|
||||
, Member Fresh sig
|
||||
, Member (State (Set.Set Constraint)) sig
|
||||
, Member (State (Heap User (Term Monotype Meta))) sig
|
||||
, MonadFail m
|
||||
)
|
||||
=> Analysis User (Term Monotype Meta) m
|
||||
typecheckingAnalysis = Analysis{..}
|
||||
where alloc = pure
|
||||
bind _ _ = pure ()
|
||||
|
Loading…
Reference in New Issue
Block a user