
1 Jun
2011
1 Jun
'11
6:28 a.m.
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! ")