diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2022-12-04 22:07:13 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2022-12-05 14:21:53 +0200 |
| commit | cb15649a09ef06cb9cb9c412636591435d587382 (patch) | |
| tree | cd7facf738a635da5e6f20fcc25cbf58ed3b4755 /app/Main.hs | |
| parent | ae37b18cd29a91aea695fbcc6382ced632def513 (diff) | |
Separate envThis and envImported in Env
Diffstat (limited to 'app/Main.hs')
| -rw-r--r-- | app/Main.hs | 4 |
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" |
