path | title |
---|---|
/learnings/functional_programm |
Learnings: Functional Programming |
Monad laws:
- Must have a type constuctor
- Must have a
unit
function that wraps the value into the monad bind
function chains operations on monadic values
Result, Either, Some types
Associative collections are collections that can be viewed as a function. Given an object o, a function f(o) returns true or false according to whether this object belongs to the collection or no
- From The Joy of Kotlin by Pierre-Yves Saumont on page 0 ()