1
1
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:
Rob Rix 2019-07-19 08:46:02 -04:00
parent 7d336c9d9a
commit 89cdd3bda3
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -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 ()