Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Monads Explained Quickly.
function IdentityMonad(v) {
this._v = v;
IdentityMonad.prototype.bind = function(f) {
var o = f(this._v); if(!(o instanceof IdentityMonad)){ throw new Error("function must return IdentityMonad"); } return o; }
There are no comments on this comment yet.
function IdentityMonad(v) {
}IdentityMonad.prototype.bind = function(f) {