aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-06 18:36:51 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-06 18:36:51 +0200
commit9ea6fae21ffec1f092bd272fa34330c887947c36 (patch)
treef4072c6c3b202554939ec68464fe9d7070f66105 /app/Main.hs
parent4de1c9b9159305a664a56589b9b6aa1bce0129aa (diff)
Use adt instead of bool for ASTFunction purity
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 6b3a543..35ca77d 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -62,7 +62,7 @@ main = do
ls = LState { stateConfig = config,
stateEnv = emptyEnv { envImported = builtinEnv },
stateDepth = 0,
- statePure = False }
+ statePure = Impure }
if (configShowHelp config) then do
putStrLn $ "Usage: " ++ progName ++ " # to open REPL"