Has anybody tried using Arrow-meta in a kotlin mul...
# arrow-meta
Has anybody tried using Arrow-meta in a kotlin multiplatform project? I'm thinking of using the Type Union feature to replace the Either monad for UseCases in CLEAN Architecture, but I think the compiler additions might not play very well with Kotlin Native... Thoughts?
It’s not gonna work until IR is ready until 1.4
👍 2
all the proofs plugins, unions etc are coming then
The other thing to consider is that Either and Union are not the same thing
Unions have no biased and they are associative and commutative
This means they have no map or flatMap over the right case
If you are using those today with Either then you won’t find those in unions
Ok cool, sounds like I should just wait for Kotlin 1.4 to come out
Awesome! excited for this :D