Like Scala Monads for TypeScript and JavaScript