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)
“It is hardly to be believed how spiritual reflections when mixed with a little physics can hold peoples attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.”
—G.C. (Georg Christoph)