aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-10-05 14:48:14 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-05 14:21:53 +0200
commit694021a9bd1dd0420a8594ea24218c47fbbab51e (patch)
treecd59da1ef660dda410050b2ee467b16fdd8f60ca /app
parent7a6dd411a5d8e515fa5fa3d32650565c2e8a5f1b (diff)
Refactor Depth into LContext
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 0aa66d7..a422a5b 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -54,7 +54,7 @@ main = do
}
let config = parseArgs initialConfig args
- ls = LState { stateConfig = config, stateEnv = builtinEnv }
+ ls = LState { stateConfig = config, stateEnv = builtinEnv, stateDepth = 0 }
if (configShowHelp config) then do
putStrLn $ "Usage: " ++ progName ++ " # to open REPL"