Scala Monads for TypeScript and JavaScript