mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Run the analysis directly in Util.
This commit is contained in:
parent
ba73ae1eaa
commit
21ee656538
@ -65,7 +65,7 @@ evaluateFile :: forall term effects
|
||||
=> Parser term
|
||||
-> FilePath
|
||||
-> IO (Final effects Value)
|
||||
evaluateFile parser path = evaluate . snd <$> parseFile parser path
|
||||
evaluateFile parser path = runAnalysis @(Evaluating term Value) . evaluateModule . snd <$> parseFile parser path
|
||||
|
||||
-- Evaluate a list of files (head of file list is considered the entry point).
|
||||
evaluateFiles :: forall term effects
|
||||
|
Loading…
Reference in New Issue
Block a user