Re: [Haskell-cafe] words function

2007-11-08 Thread Dougal Stanton
On 08/11/2007, Ryan Bloor [EMAIL PROTECTED] wrote: 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] -

[Haskell-cafe] words function

2007-11-08 Thread Ryan Bloor
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)

Re: [Haskell-cafe] words function

2007-11-08 Thread Ketil Malde
Ryan Bloor [EMAIL PROTECTED] writes: 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. And it doesn't work? --Define the main first function rStrings2Results :: ([String] - String) -