From a2e6bc2edc826d2e9e93d0b98912593150d31945 Mon Sep 17 00:00:00 2001 From: John McClean Date: Tue, 8 Aug 2017 22:35:30 +0100 Subject: [PATCH] #288 --- cyclops-vavr/src/main/java/cyclops/companion/vavr/Eithers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyclops-vavr/src/main/java/cyclops/companion/vavr/Eithers.java b/cyclops-vavr/src/main/java/cyclops/companion/vavr/Eithers.java index d864ff17..d4df7407 100644 --- a/cyclops-vavr/src/main/java/cyclops/companion/vavr/Eithers.java +++ b/cyclops-vavr/src/main/java/cyclops/companion/vavr/Eithers.java @@ -899,7 +899,7 @@ public static Nested, Higher Nested, optional, T> optionalal(Either> nested) { + public static Nested, optional, T> optional(Either> nested) { EitherKind> x = widen(nested); EitherKind> y = (EitherKind) x; return Nested.of(y, Instances.definitions(), Optionals.Instances.definitions());