Motivating Examples
The two most common examples given when introducing monads are the I/O monad and the Maybe monad.
Read more about this topic: Monad (functional Programming)
Famous quotes containing the words motivating and/or examples:
“Decisive inventions and discoveries always are initiated by an intellectual or moral stimulus as their actual motivating force, but, usually, the final impetus to human action is given by material impulses ... merchants stood as a driving force behind the heroes of the age of discovery; this first heroic impulse to conquer the world emanated from very mortal forcesin the beginning, there was spice.”
—Stefan Zweig (18811942)
“There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.”
—Bernard Mandeville (16701733)