[Haskell-beginners] Getting "Discrete Mathematics Using a Computer" code to run

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sun Feb 15 10:06:08 UTC 2015


On Sat, 14 Feb 2015 23:30:13 +0100, Lawrence Bottorff <borgauf at gmail.com>  
wrote:

> .../Discrete/Stdm02142015.lhs:1036:40-46:
>     Not in scope: `catch'
>
> .../Discrete/Stdm02142015.lhs:1048:40-46:
>     Not in scope: `catch'
> Failed, modules loaded: none.
>
> This is on ghci 7.6.3

The function "catch" is removed from Prelude, you need to add the line:
   import Control.Exception

Regards,
Henk-Jan van Tuyl


-- 
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--


More information about the Beginners mailing list