Skip to content

Instantly share code, notes, and snippets.

@tzellman
Forked from kentaromiura/Monad.js
Created January 18, 2013 16:27
Show Gist options
  • Save tzellman/4565789 to your computer and use it in GitHub Desktop.
Save tzellman/4565789 to your computer and use it in GitHub Desktop.
(function(a){var b={},c=function(d){var e=b[d];if(!e){e=b[d]={};var f=e.exports={};a[d].call(f,c,e,f,window)}return e.exports};window.Monad=c("0")})({0:function(a,b,c,d){function e(a){if(a instanceof e)return a;this.value=function(){return a}}e.prototype.bind=function(a){var b=this.value();return a===e||b===null||b===undefined?this:typeof a=="function"?new e(a(b)):this},b.exports=e}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment