julian
07/06/2021, 7:40 PMEither
? I could use fold
. But that doesn't seem quite right since fold
`s intent seems to be more on producing a value, not performing side-effects.julian
07/06/2021, 7:41 PM(A) -> Unit
.julian
07/06/2021, 7:44 PMfun Either<A, B>.foo((A) -> Unit): Either<A, B>
streetsofboston
07/06/2021, 7:45 PMjulian
07/06/2021, 8:06 PM