¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

4.12

James John Inglés 11 fichas

Fichas del conjunto (11)

  1. 1Function: f: A -> BA is domain (set of inputs) B is codomain (set of outputs)
  2. 2First class objectsObjects which may:
    -appear in expressions
    -be assigned to a variable
    -be returned in function calls
  3. 3Function applicationthe process of giving particular inputs to a function
  4. 4Partial function applicationThe application of a function to an argument, resulting in a function that is applied to the next argument
  5. 5Composition of functionsThe combination of 2 functions to create another. Function fg(x). g is completed first, then f is ran with the outputs of g.
  6. 6Higher order functionTakes a function as an argument or returns a function
  7. 7MapTakes a function and a list as its arguments
    Applies the function to each item in the list recursively
    Returns the new list []
  8. 8FilterTakes a function with a {True, False} co domain and a list as its arguments
    Applies the function recursively to each item in the list, returning true or false.
    A list containing all the values which returned true is returned []
  9. 9FoldTakes a combining function and a list as its arguments
    Recursively applies itself to the head of a list. Reduces the list of values to a single value by applying a combining function.
  10. 10RecursionThe act of a function calling itself, must include a case that breaks the recursion
  11. 11Prepend and appendPrepend - Add a value to the start of a list
    Append - Add a value to the end of a list

Información

Descripción
Fichas sobre 4.12, creado por James John el 29/04/2022.
Creado por
James John
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?