[Haskell-cafe] Re: returning lists

Scherrer, Chad Chad.Scherrer at pnl.gov
Fri Dec 2 09:49:36 EST 2005

raptor <raptor at tvskat.net> writes,

> ]- that is the problem :"), 'cause such functions should accept Char and
> String, but return a Tuple of Strings, but it is recursive (so that it fetch
> next,next,next char :)) i.e. it is own "consumer" and should return String

> --this is wrong, just tring grab char (x:xs)

You might also have a look at

This idea should apply here.

-Chad Scherrer

More information about the Haskell-Cafe mailing list