
31 May
2012
31 May
'12
3:48 p.m.
I have been working my way through "Learn You a Haskell for Greater Good" and am stumped when I get to the "Syntax in Functions - Pattern Matching" section. The book shows the following expression... ghci> lucky :: (Integral a) => a -> String ...but when I try to execute it in GHCi I get the following error... <interactive>:1:1: Not in scope: `lucky' What am I missing? Stan Kulp 4421 W North Pinebrook Lane Columbia, MO 65203 Home: 573-234-2065 Work: 573-522-5075 Cell: 573-864-6051