mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Reformat the signature for runFile to accommodate the evaluator.
This commit is contained in:
parent
97ae6e9b21
commit
813cde359e
@ -108,7 +108,12 @@ runFile
|
||||
, Member (State (Heap User Type)) sig
|
||||
, Ord (term User)
|
||||
)
|
||||
=> (forall sig m . (Carrier sig m, Member (Reader Loc) sig, MonadFail m) => Analysis term User Type m -> (term User -> m Type) -> (term User -> m Type))
|
||||
=> (forall sig m
|
||||
. (Carrier sig m, Member (Reader Loc) sig, MonadFail m)
|
||||
=> Analysis term User Type m
|
||||
-> (term User -> m Type)
|
||||
-> (term User -> m Type)
|
||||
)
|
||||
-> File (term User)
|
||||
-> m (File (Either (Loc, String) Type))
|
||||
runFile eval file = traverse run file
|
||||
|
Loading…
Reference in New Issue
Block a user