I downloaded the most recent vesion of winHugs and I installed it.
I'm trying to follow a tutorial about the commands (hugs2List pg 3).
I try to use the Prelude function isDigit, but this gives an error.
-- File second.hs
getDigits :: [Char] -> [Char]
getDigits s = [C|c <-s, isDigit c]
Prelude> Undefined variable "isDigit"
I've noticed that in the tutorial Prelude> is named Main> Does it have something to do with the version/modules? How can I use this isDigit?
Thank you for your attention!