aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-05 12:42:21 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-05 14:21:53 +0200
commitbba047ae945ae7d7899d6e2c1610923bcedb0442 (patch)
tree4c442e6e09cc3f4ec65edb04bfafe93084045689 /app
parentac6b455f4a9be11d322551a927c4330532f9f184 (diff)
Implement purity checking
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 34fe23a..0bfda2c 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -59,7 +59,8 @@ main = do
let config = parseArgs initialConfig args
ls = LState { stateConfig = config,
stateEnv = emptyEnv { envImported = builtinEnv },
- stateDepth = 0 }
+ stateDepth = 0,
+ statePure = False }
if (configShowHelp config) then do
putStrLn $ "Usage: " ++ progName ++ " # to open REPL"