[Haskell-beginners] pattern matching on strings ?

Roelof Wobben r.wobben at home.nl
Fri Feb 20 07:32:17 UTC 2015


Hello,

Im try to the solve the exercise which does the following :

"E 2 562 help he

and convert it into

(Error 2) 562 "help help

First I thought to split the string on the " " but according to google 
Haskell do not have a split function.

Can I use pattern matching on some way ?

Roelof



More information about the Beginners mailing list