Map in Terms of Fold in terms of Map

16 Mar
2009
16 Mar
'09
12:27 p.m.
Hi, I’ve noticed that it’s possible to define map as foldr and foldr as a map. Would this be sensible to define both in terms of each other in the Prelude? i.e mutually recursive? Cheers, Mark No virus found in this outgoing message. Checked by AVG. Version: 7.5.557 / Virus Database: 270.11.15/2003 - Release Date: 15/03/2009 2:07 PM
5911
Age (days ago)
5911
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Spezzano