foldr

James Ealing jamesealing2000 at yahoo.co.uk
Fri Jan 2 02:54:11 EST 2004


Hi all,

If I have a function:

it f [a0, a1, a2, ...] = [a0, f a1, f (f a2), ...]

Is there any way of expressing

it f

as an instance of foldr?

Many thanks,

Jim

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


More information about the Haskell-Cafe mailing list