From b1a7056948e5e1d737fd8d9bf58ba45172f11190 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 13 Oct 2017 11:24:13 -0400 Subject: [PATCH] Make the assignment binding reloadable. --- .ghci | 1 + 1 file changed, 1 insertion(+) diff --git a/.ghci b/.ghci index 919a73c89..3c86ee567 100644 --- a/.ghci +++ b/.ghci @@ -28,6 +28,7 @@ assignmentExample lang = case lang of _ -> mk "" "" where mk fileExtension parser = putStrLn ("example: fmap (() <$) . runTask . parse " ++ parser ++ "Parser =<< Semantic.Util.file \"example." ++ fileExtension ++ "\"") >> return ("import Parser\nimport Semantic.Task\nimport Semantic.Util") :} +:undef assignment :def assignment assignmentExample -- Enable breaking on errors for code written in the repl.