I notice that Prelude.catch and Exception.catch behave differently, even
though they both have the same type signature (and name). Exception.catch
catches exceptions that Prelude.catch does not.
For instance, it is possible to bind pure functional exceptions into the
IO monad using
See comments below.
On Sun, May 12, 2002, David Feuer wrote:
On Sun, May 12, 2002, Emre Tezel wrote:
Hi all,
I recently bought Simon Thompson's Haskell book. I have been doing the
exercises while I read on. There are couple questions that I can not
solve. Any help would be greatly
I have recently been experimenting writing code that replaces large
chunks of the Prelude, compiling with -fno-implicit-prelude. I notice
that I can happily redefine numeric literals simply by creating functions
called 'fromInteger' and 'fromRational': GHC will use whatever is in
scope for