Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Mindmap

higher order functions

PUENTES VIVIESCAS CARLOS ALFREDO Spanisch

Inhalt der Mindmap

higher order functions

  1. Curried Functions

    • uses one argument
    • inflix functions
  2. 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
    • filter
      • predicate and list as parameters
        • check the predicate with each item in the list
    • takewhile
      • predicate and list as parameters
        • stops when the predicate returns false
  3. generalities

    • return functions
      • as parameters
      • as results
  4. Lambdas

    • anonymous functions
      • generally single-use functions
  5. folds

    • Take a list and an accumulator
      • reduces the list to a single value
    • types
      • return final value
        • foldl
          • left
          • foldl1
        • foldr
          • right
          • foldr1
      • returns several values
        • scanl
        • scanr
  6. $

    • 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

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?