@sweet-monads/either
Advanced tools
Comparing version
@@ -37,3 +37,3 @@ import { Monad } from "@sweet-monads/interfaces/monad"; | ||
constructor(type: EitherType.Right, v: R); | ||
constructor(private type: EitherType, private value: L | R) {} | ||
constructor(private type: EitherType, public readonly value: L | R) {} | ||
@@ -40,0 +40,0 @@ isLeft() { |
{ | ||
"name": "@sweet-monads/either", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Either monad", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4326
0.19%