[Haskell-cafe] *GROUP HUG*
Daniel Fischer
daniel.is.fischer at googlemail.com
Wed Jun 1 12:28:21 CEST 2011
On Wednesday 01 June 2011 12:25:06, Adrien Haxaire wrote:
> On Wed, 01 Jun 2011 11:46:36 +0200, Henning Thielemann wrote:
> > Really, you can write foldr in terms of foldl? So far I was glad I
> > could
> > manage the opposite direction.
>
> i didn't try it, that was just an example of how strange/interesting
> the enthusiasm appeared to me when i started Haskell.
>
> good exercise though, as even if it cannot be done (for which i have no
> clue), the explanation of it is interesting too.
>
Spoiler alert, don't look down too early.
foldr (++) (repeat "No way! ")
More information about the Haskell-Cafe
mailing list