Hi,
I have a script here
interleave :: [Integer] -> [Strings]
-> [String]
interleave (x:xs) (y:ys) = words [a | a <- (unwords [(show x), (filter (/= 1) y), "+"])] and the error message i receive is
(Instance of Num Char required for definition of
interleave)
and I don't understand what this is asking of
me.
Please help if you are able to!!!
Thanks.....Steph
|
- Re: list comprehension Stephanie Randles
- Re: list comprehension Ch. A. Herrmann
- Re: list comprehension Rijk-Jan van Haaften