Fronads was an attempt to learn monads through building a library. While it was fun to learn and build,
through usage it became clear that javascript is not really the language for monads.
Without strong types, currying, and data types, you just get a lot of confusing overly verbose magic code.
## Code Samples
import {Some, None} from 'fronads';
const divide = (aa) => (bb) => {
if(bb === 0) return None;
return Some(bb / aa);
}
Some(10).flatMap(divide(2))
Some(2).flatMap(divide(0))
None.map(divide(2))