on master help sign in
make sure you can say "import Dict" as first entry
0529e7dEvan Czaplicki
terminal/src/Repl.hs+4−4
@@ -435,16 +435,16 @@ toByteString (State imports types decls) output =
435
435
436outputToBuilder :: Output -> B.Builder
436outputToBuilder :: Output -> B.Builder
437outputToBuilder output =
437outputToBuilder output =
438+ N.toBuilder N.replValueToPrint <> " =" <>
438 case output of
439 case output of
439 OutputNothing ->
440 OutputNothing ->
440− mempty
441+ " ()\n"
441
442
442 OutputDecl _ ->
443 OutputDecl _ ->
443− mempty
444+ " ()\n"
444
445
445 OutputExpr expr ->
446 OutputExpr expr ->
446− N.toBuilder N.replValueToPrint <> " ="
447− <> foldr (\line rest -> "\n " <> B.byteString line <> rest) "\n" (BSC.lines expr)
447+ foldr (\line rest -> "\n " <> B.byteString line <> rest) "\n" (BSC.lines expr)
448
448
449
449
450
450