Getting "Discrete Mathematics Using a Computer" code to run

Saw this message:
Error Loading Stdm.lhs in Haskell platform 2012
*Iwan Awaludin* awaludin at gmail.com

On Sat, 14 Feb 2015 23:30:13 +0100, Lawrence Bottorff
.../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@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 --
participants (2)
-
Henk-Jan van Tuyl
-
Lawrence Bottorff