Fandom

Distributed Interactive Functional Fiction Programming

Functions as arguments

13pages on
this wiki
Add New Page
Talk0 Share

Main_Page/Snack Code

Functions as arguments

Function takes a function as an argument and/or returns a function as a result

  • map - apply function to all elements of a list
  • filter - use 'property' function and a list and return a new list constructed from elements of the old list that have a given property
  • fold - fold an operator or function into a list of values to combine list items

--Dokondr 16:18, 20 February 2006 (UTC)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.