Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Haskell - Higher order functions

Beschreibung

Mapa del capitulo 6
FONTALVO ROMERO EDUARDO JOSÉ
Mindmap von FONTALVO ROMERO EDUARDO JOSÉ , aktualisiert more than 1 year ago
FONTALVO ROMERO EDUARDO JOSÉ
Erstellt von FONTALVO ROMERO EDUARDO JOSÉ vor mehr als 7 Jahre
22
0
1 2 3 4 5 (0)

Zusammenfassung der Ressource

Haskell - Higher order functions
  1. Are functions that can take functions as parameters and return functions as return values
    1. Curried functions
      1. Recursion
        1. The function in Haskell officially only takes one parameter
          1. Functional programming uses higher order functions to abstract away common patterns
            1. Maps
              1. Filters
                1. Equivalent of applying several predicates in a list comprehension is either filtering something several times
                2. Lambdas
                  1. Are anonymous functions that are used because we need some functions only once
                    1. Lambdas are expressions
                    2. Also can match with patterns
                    3. Normally surrounded by parentheses
                      1. Folds
                        1. They reduce the list to some single value
                          1. Binary function
                            1. Starting value
                              1. Can be used to implement any function where you traverse a list once
                              2. Sacns
                                1. Scans are used to monitor the progression of a function that can be implemented as a fold
                                2. Function application
                                  1. Function composition
                                    Zusammenfassung anzeigen Zusammenfassung ausblenden

                                    0 Kommentare

                                    There are no comments, be the first and leave one below:

                                    ähnlicher Inhalt

                                    Capítulo VI: Leyes comerciales injustas y otros agravios
                                    jorge cruz
                                    Essay schreiben - Tipps
                                    AntonS
                                    05_Gesellschaft mit beschränkter Haftung (GmbH)
                                    Stefan Kurtenbach
                                    Französische Revolution
                                    Markus Grass
                                    Vokabeln für Gesundheits- und Krankenpflege
                                    julian.haeuserer
                                    LEK 1-1
                                    tobifant
                                    IKA-Theoriefragen Serie 01 (15 Fragen)
                                    IKA ON ICT GmbH
                                    Funktionen Einführung und Geradenfunktionen
                                    Tahir Celikkol
                                    Wortschatz Französisch 1. Angaben zur Person
                                    l_u_n_a_19