This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
From Doug Crockford's talk 'Monads and Gonads' | |
*/ | |
/* | |
Doug calls this a Macroid - a JavaScript version of a macro. | |
Its purpose is to create the monad unit function for a specific monad type | |
*/ | |
function MONAD (){ |