Skip to content

Latest commit

 

History

History

README.md

Functional

Some examples of a functional programming style in Python.

What is it?

  1. functional_programming_style.ipynb: notebook explaining a functional programming style in Python with examples.
  2. sieve_of_eratosthenes.ipynb: a lazy implementation of the sieve of Eratosthenes using generators.
  3. persistent_lists.ipynb: example of an implementation of a persistent list, i.e., a purely functional data structure.
  4. persistent_binary_search_tree.ipynb: example of an implementation of a persistent binary search tree, i.e., a purely functional data structure.