Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Functional Data Structures

Functional Data Structures

Aliaksandr Lomau

July 02, 2015
Tweet

More Decks by Aliaksandr Lomau

Other Decks in Technology

Transcript

  1. Agenda: 1. Functional data primitives. What are they? 2. How

    to live with immutable things? 3. Evaluating space and time. 4. Benefits for web developers.
  2. An atom is the smallest constituent unit of ordinary matter

    that has the properties of a structural element. In our case atoms are fundamental data types such as numbers, string, bytes and etc.
  3. atoms / s-expressions (sexp интимного тут нет) атомисты atomic symbols"

    represented as "strings of capital Latin letters and digits with single embedded blanks" (i.e., character string and numeric literals).
  4. s-expressions, sexprs or sexps - “symbolic expression”, are a notation

    for nested list tree-structured data in Lisp. s-expression = ((x . y) | atom), where x and y are s-expressions
  5. (* 2 (+ 3 4)) (2 * (3 + 4))

    “Польская нотация”
  6. The Tralfamadorians are described as being able to see in

    four dimensions, allowing them to simultaneously observe any and every point in the space-time continuum.
  7. Amortized Analysis is a method for analyzing a given algorithm's

    time complexity, or how much of a resource, especially time or memory in the context of computer programs, it takes to execute.