[Haskell-cafe] please help... small problem

Ryan Bloor ryanbloor at hotmail.com
Fri Nov 9 16:44:35 EST 2007


hi
 
Is there anyway to cut down this code and to not use auxillary functons, but instead use pattern matching? The code basically splits up a list 'rslis' into a list of lists - but so each word is split up and the integers have been parsed. so.... ["hi ryan 1","hi jeff 2"] becomes [["hi","ryan" 1], ["hi","jeff", 2]].The code is far too long. I don't wanna use premade functions too much... pattern matching is required.  Ryan
_________________________________________________________________
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071109/d78938a0/attachment.htm


More information about the Haskell-Cafe mailing list