From 9ea6fae21ffec1f092bd272fa34330c887947c36 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 6 Dec 2022 18:36:51 +0200 Subject: Use adt instead of bool for ASTFunction purity --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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" -- cgit v1.3