Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.33 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.33 KB

Functional Programming Notes

Topics

  • Semi-groups
  • Monoids
  • Functors
  • Function Modeling
    • Reader Monad
    • Endo Functor
    • contramap
    • Mondad Transformers
    • Free Monad
    • Lenses

Semigroups & Monoids

  • closed = working on certain data type that doesn't change
  • associative
  • identity
  • semigroup = associative and closed
  • monoid = semigroup with identity
  • functor: semigroup that applies a function inside without changing the structure of the type

Function Modeling

  • Reader Monad
  • Endo Functor
  • contramap
  • Mondad Transformers
  • Free Monad
  • Lenses

Definitions

  • Monoid
  • foldMap
  • Monad

Resources