1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00

Make the assignment binding reloadable.

This commit is contained in:
Rob Rix 2017-10-13 11:24:13 -04:00
parent e511bd2572
commit b1a7056948

1
.ghci
View File

@ -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.