Mindmap
higher order functions
Inhalt der Mindmap
higher order functions
Curried Functions
- uses one argument
- inflix functions
associations and filters
- map
- function and list as parameters
- applies function to each item in the list
- it works like a list by compression
- easier
- function and list as parameters
- filter
- predicate and list as parameters
- check the predicate with each item in the list
- predicate and list as parameters
- takewhile
- predicate and list as parameters
- stops when the predicate returns false
- predicate and list as parameters
- map
generalities
- return functions
- as parameters
- as results
- return functions
Lambdas
- anonymous functions
- generally single-use functions
- anonymous functions
folds
- Take a list and an accumulator
- reduces the list to a single value
- types
- return final value
- foldl
- left
- foldl1
- foldr
- right
- foldr1
- foldl
- returns several values
- scanl
- scanr
- return final value
- Take a list and an accumulator
$
- eliminates the need for parentheses in some cases
Informationen
- Beschreibung
- Mindmap am higher order functions, erstellt von PUENTES VIVIESCAS CARLOS ALFREDO am 28/02/2018.
- Erstellt von
- PUENTES VIVIESCAS CARLOS ALFREDO · Feb 2018
- Aktualisiert
- 1 Mär 2018
- Aufrufe
- 2
- Bewertung
Mehr zu Functional Programming and Haskell