
8 Nov
2007
8 Nov
'07
4:59 a.m.
hi I am trying to create a function that uses the words function... I am doing the same thing to each element in a list so I am using mapping techniques. Code... --Define the main first function rStrings2Results :: ([String] -> String) -> [[String]] -> [String] rStrings2Results f(head:tail) = (f head : rStrings2Results f tail) I just want take a list and on the first member ("hello my name is ryan") to say [("hello", "my", "name", "is", "ryan"),..............] using the words function. _________________________________________________________________ 100’s of Music vouchers to be won with MSN Music https://www.musicmashup.co.uk