Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmcclean committed Aug 8, 2017
1 parent 9beb7a3 commit a2e6bc2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ public static <L, S extends Throwable, P> Nested<Higher<either, L>, Higher<Witne
return Nested.of(y, Instances.definitions(), cyclops.control.Try.Instances.definitions());
}

public static <L, T> Nested<Higher<either, L>, optional, T> optionalal(Either<L, Optional<T>> nested) {
public static <L, T> Nested<Higher<either, L>, optional, T> optional(Either<L, Optional<T>> nested) {
EitherKind<L, Optional<T>> x = widen(nested);
EitherKind<L, Higher<optional, T>> y = (EitherKind) x;
return Nested.of(y, Instances.definitions(), Optionals.Instances.definitions());
Expand Down

0 comments on commit a2e6bc2

Please sign in to comment.