aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 1ee5bd8..34fe23a 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -57,7 +57,9 @@ main = do
}
let config = parseArgs initialConfig args
- ls = LState { stateConfig = config, stateEnv = builtinEnv, stateDepth = 0 }
+ ls = LState { stateConfig = config,
+ stateEnv = emptyEnv { envImported = builtinEnv },
+ stateDepth = 0 }
if (configShowHelp config) then do
putStrLn $ "Usage: " ++ progName ++ " # to open REPL"