mirror of
https://github.com/github/semantic.git
synced 2024-12-29 18:06:14 +03:00
Add a reader effect to determine when to break.
Co-Authored-By: Ayman Nadeem <aymannadeem@gmail.com>
This commit is contained in:
parent
ad7721f209
commit
357e98115b
@ -103,6 +103,7 @@ repl proxy parser paths = defaultConfig debugOptions >>= \ config -> runM . runD
|
||||
modules <- topologicalSort <$> runImportGraphToModules proxy (snd <$> package)
|
||||
runEvaluator
|
||||
. runREPL
|
||||
. runReader Always
|
||||
. runTermEvaluator @_ @_ @(Value Precise (UtilEff Precise _))
|
||||
. runState lowerBound
|
||||
. runFresh 0
|
||||
@ -171,6 +172,12 @@ step blobs recur term = do
|
||||
maybe (runCommands run) (runCommand run . words) str
|
||||
|
||||
|
||||
data Break
|
||||
= Always
|
||||
| Never
|
||||
deriving Show
|
||||
|
||||
|
||||
settings :: Settings IO
|
||||
settings = Settings
|
||||
{ complete = noCompletion
|
||||
|
Loading…
Reference in New Issue
Block a user