functional programming - Is the FoldLeft function available in R? -


I would like to know whether R is the implementation of the foldlift function (and fold-write?).

The language is supposed to be "rather" functional oriented and therefore I think that something like this should be done, but I could not find it in the document.

(f: (b)

A) = & gt; B): B

This low result is considered to be returned:

  f (... (f, A0), a1) ... a) If the list [A0, A1, ..., A]  

(I am using the definition of)

Do anyone know that such a function exists in R?

? Reduce Use (F, X, Int, Right = False, Cached = FALSE)


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -