Remove `error` from Language.Robin.CmdLine as well.
Chris Pressey
5 years ago
19 | 19 |
* There are now QuickCheck tests that check whether
|
20 | 20 |
the multiple definitions for a symbol, when given,
|
21 | 21 |
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.
|
24 | 23 |
|
25 | 24 |
Robin 0.6
|
26 | 25 |
---------
|
0 | 0 |
module Language.Robin.CmdLine where
|
1 | 1 |
|
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))
|
3 | 3 |
|
4 | 4 |
import System.IO
|
5 | 5 |
import System.Exit
|
|
53 | 53 |
putStrLn $ show result
|
54 | 54 |
writeResults results
|
55 | 55 |
writeResults ((Left expr):results) =
|
56 | |
error $ "uncaught exception: " ++ show expr
|
|
56 |
abortWith ("uncaught exception: " ++ show expr)
|