A - the type of the result produced by the IO@FunctionalInterface public interface IO<A> extends Try0<A,java.io.IOException>
| Modifier and Type | Method and Description |
|---|---|
default <B> IO<B> |
append(IO<B> iob) |
default <B> IO<B> |
bind(F<A,IO<B>> f) |
default A |
f() |
static IO<LazyString> |
getContents() |
static IO<Unit> |
interact(F<LazyString,LazyString> f) |
default <B> IO<B> |
map(F<A,B> f) |
A |
run() |
default SafeIO<Validation<java.io.IOException,A>> |
safe() |
toEffect0, toF0, toP1, toTryEffect0A run() throws java.io.IOException
java.io.IOExceptiondefault A f() throws java.io.IOException
default SafeIO<Validation<java.io.IOException,A>> safe()
static IO<LazyString> getContents()
static IO<Unit> interact(F<LazyString,LazyString> f)