Full threadmbseid·I made a port of some Scala Monads to Javascript. Mostly, Option and Either. Makes for some really nice, and you won't find yourself doing (typeof foobar === "undefined").https://github.com/mbseid/Monad.jsView on HN