In Arrow-kt I'd like to create an alias to the bind() - for a kind of custom lib to use Arrow. I'd expect the following to work but it doesn't: Th ...
In Arrow-kt I'd like to create an alias to the bind() - for a kind of custom lib to use Arrow. I'd expect the following to work but it doesn't: Th ...
When looking at arrows documentation about functional error handling one of the reason listed to avoid throwing exceptions is performance cost (refere ...
What would be the best way to convert Java Optional to Arrows Option? I was expected to have something out-of-box, but it's not there. Something like: ...
I have a complicated, immutable data structure that includes simple fields, but also maps and lists in the hierarchy. Maybe I'm just not reading the d ...
I'm testing a function with an external dependency inside of a tailrec function. The function returns an Either. When mocking this dependency, I'm pro ...
I working on a medium-sized Kotlin project where I need to thread configuration information read from file through many nested calls of pure functions ...
I am processing large Files, having a list of them: I need to read the InputStream of each file, process it, and write it to another processedFile. ...
I am using Kotlin together with Arrow-Kt libraries. I am launching on a specific scope some coroutines that make use of Arrow-kt's Schedule. At a cer ...
I'm trying to use arrow analysis in my project to catch exceptions at compile time. I follow this page but when I do Gradle build I get a bunch of run ...
I'm getting below depreciation warning in arrow 1.1.2, could anyone please tell me what's the correct replacement for this? [DEPRECATION] 'invoke( ...
According to the docs I should implement an effect with an object. This is the general guide from the tutorial. I'm curious if anyone knows why the ...
I used arrow.kt library so many times, I really enjoyed the features they gave to extend kotlin. I like how Either<E,T> can represent the succes ...
have a question about ensure function, somehow it doesn't make null safe after check in either block. What I am doing wrong, or is there a better way ...
The move to the new continuations API in Arrow brought with it a handy new function: shift, in theory letting me get rid of ensure(false) { NewError() ...
all I have a question how can I validate more then 10 values with arrow in kotlin. If I will try to add one more validation then I will get an erro ...
Was playing a bit with arrow library for Kotlin and found this error right out of the documentation https://arrow-kt.io/docs/optics/ . What am I doing ...
I have code I've written inside an either.eager My question is: Is this the idiomatic way to handle errors within an either.eager? i.e is it ok to ...
I'm mulling over something regarding suspend that Arrow's documentation explains in detail: suspend () -> A offers the same guaranties as IO<A&g ...
With the arrival of Arrow 1.1.x we got the new Effect class. Up to now, my business classes returned Either to model the effect of returning an error ...
I currently face the problem of correctly closing resources that never leave their containing Either. The relevant code looks something like this: ...