• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/4

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

4 Cards in this Set

  • Front
  • Back

first-class function

functions that can be computed, passed, stored, etc. wherever other values can be computed, passed, stored, etc. As examples, it can be passed to functions, returned from functions, placed in pairs, become part of the data a datatype constructor carries, etc.

higher-order function

a function that takes or returns other functions.

generic types (also called parametic polymorphism)

When types can be any type and do not have to be the same as other types, different letters are used (’b, ’c, etc.) and this lets functions take arguments of any type.

anonymous function

a function that is defined with fn as a keyword.



=> (not =) is also part of the syntax.



An anonymous function does not have a name and therefore it cannot be used for recursive calls.