[Haskell-beginners] Most important Functional Methods
Erik Price
erikprice at gmail.com
Sat Jun 7 12:40:09 UTC 2014
On Saturday, June 7, 2014, Richard Seldon <arcseldon at gmail.com> wrote:
> Hello,
>
> I have a general question, not specific to Haskell although I am learning
> Haskell as I ask this question..
>
> Please can someone provide consensus on the most important functional
> methods in their view.
>
> I read somewhere that having map, reduce, filter, mergeAll, and zip pretty
> much means everything else can be derived.
You might be interested in reading this excellent introductory article on
folds, which are Haskell's equivalent to what some languages call reduce:
http://www.cs.nott.ac.uk/~gmh/fold.pdf
It shows how many of the basic higher-order functions (such as map, filter,
etc) can be derived from a fold.
e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140607/0cc99837/attachment.html>
More information about the Beginners
mailing list