git @ Cat's Eye Technologies Robin / 8c68782
Remove `error` from Language.Robin.CmdLine as well. Chris Pressey 5 years ago
2 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1919 * There are now QuickCheck tests that check whether
2020 the multiple definitions for a symbol, when given,
2121 are equivalent.
22 * `error` is no longer used anywhere except the
23 `Robin.Language.CmdLine` module.
22 * `error` is no longer used anywhere in the source.
2423
2524 Robin 0.6
2625 ---------
00 module Language.Robin.CmdLine where
11
2 import Prelude (id, error, return, show, (++), ($), String, Bool(True), Either(Left, Right))
2 import Prelude (id, return, show, (++), ($), String, Bool(True), Either(Left, Right))
33
44 import System.IO
55 import System.Exit
5353 putStrLn $ show result
5454 writeResults results
5555 writeResults ((Left expr):results) =
56 error $ "uncaught exception: " ++ show expr
56 abortWith ("uncaught exception: " ++ show expr)