Iffy
Indecisive Either
types for java.
Either<String, Integer> foo = Either.ofLeft("Hello");
Either<Integer, Integer> bar = foo.mapLeft(Integer::parseInt);
float fizz = bar.fold(Float.class::cast, Float.class::cast);
License |
License
MIT
|
---|---|
GroupId | GroupIdio.vulpine.lib |
ArtifactId | ArtifactIdiffy |
Last Version | Last Version1.0.1 |
Release Date | Release Date |
Type | Typepom.sha512 |
Description |
DescriptionIffy
Either type for Java
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
iffy-1.0.1.pom | |
iffy-1.0.1-sources.jar | 4 KB |
iffy-1.0.1-javadoc.jar | 407 KB |
Browse |
Indecisive Either
types for java.
Either<String, Integer> foo = Either.ofLeft("Hello");
Either<Integer, Integer> bar = foo.mapLeft(Integer::parseInt);
float fizz = bar.fold(Float.class::cast, Float.class::cast);