
14 Dec
2013
14 Dec
'13
6:21 a.m.
* Vo Minh Thu
Isn't your `die` function a special case of `error :: String -> a`, which is in the Prelude ?
There are two differences: * die throws an exception in the IO monad (i.e. it uses `throwIO`, whereas `error` uses `throw`). * error adds "*** Exception: " to the message Roman