cata<B, B2 extends B> method
B
cata<B, B2 extends B>(
- B ifNone(),
- B2 ifSome(
- A a
Implementation
B cata<B, B2 extends B>(B ifNone(), B2 ifSome(A a)) => fold(ifNone, ifSome);