julian
01/08/2022, 5:33 PM404
. In case it hasn't already been reported...raulraja
01/08/2022, 5:35 PMianbrandt
01/11/2022, 5:42 PMState
from the _Functional Programming in Kotlin_ liveBook also 404s:
https://arrow-kt.io/docs/0.10/apidocs/arrow-mtl-data/arrow.mtl/-state.html
Perhaps it'd be worth putting a redirect in for it.raulraja
01/11/2022, 5:53 PMianbrandt
01/12/2022, 1:09 AMianbrandt
01/12/2022, 1:13 AMFor more information, see theHowever, there doesn't appear to be such a section at: https://arrow-kt.io/docs/apidocs/arrow-core/arrow.core/-validated/vsValidated
section of theEither
documentation.Validated
raulraja
01/12/2022, 8:17 AMsuspend
. Since most of its use was mostly for academic purposes and no real life examples we choose to no longer support state or any of the similar monad transformers. Frequently in suspend / concurrent scenarios we use Atomic instead for state management. https://arrow-kt.io/docs/apidocs/arrow-fx-coroutines/arrow.fx.coroutines/-atomic/raulraja
01/12/2022, 8:22 AMValidated
you can do error accumulation. Currently the either
computation block also allows you to bind
Validated values and treat as a monad for short-circuiting. It may be possible that in the future Either just provides a zip version that does error accumulation by default when the Either has a Nel on the left, in which case validated may not make sense to have around.julian
01/13/2022, 12:04 AMCurrently theThat's really interesting. I didn't realize that was possible.computation block also allows you toeither
Validated values and treat as a monad for short-circuiting.bind