Skip to content

Commit

Permalink
wrk: fixup repl, done done
Browse files Browse the repository at this point in the history
  • Loading branch information
doyougnu committed Feb 24, 2024
1 parent 9169244 commit 056bf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repl/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,5 @@ repl ctx startWorld = do
putStrLn ""
currentWorld <- readIORef theWorld
case evaluateIn (phaseEnv runtime currentWorld) expr of
Left evalErr -> print evalErr
Left evalErr -> print $ erroneousValue $ projectError evalErr
Right val -> prettyPrintLn val

0 comments on commit 056bf16

Please sign in to comment.