Foldl_vs_foldr_IPL.png(473 × 209 pixels, file size: 21 KB, MIME type: image/png)



Summary

Description
English: A comparison between foldr and foldl. Each number is the result of applying either foldl or foldr onto the seed 0 and the list [1, 2, 3, 4]. As we can see, the result is the same only when the binary operator is commutative (C) and associative (A).
Date
Source Own work
Author Pronesto
 Info: DrTrigonBot (talk) has evaluated this file and left hidden information. View it! For a deeper understanding of how the bot works, please consult the documentation.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

20 June 2012

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:39, 20 June 2012Thumbnail for version as of 14:39, 20 June 2012473 × 209 (21 KB)Pronesto