[Haskell-beginners] Are these soloutions all valid and a good use of Haskell
edwards.benj at gmail.com
Mon Nov 10 17:07:02 UTC 2014
> It is complining but as soon as I want to run it , I see this message :
> Non-exhaustive patterns in function acc
Yep, Maybe has two constructors, and you are only handling one. You should
handle the Nothing case as well.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners