vavr-kotlin icon indicating copy to clipboard operation
vavr-kotlin copied to clipboard

Vavr integration for Kotlin

Results 4 vavr-kotlin issues
Sort by recently updated
recently updated
newest added

Hi! It would be awesome with support for kotlin coroutines, to able to call suspending functions from eg. `Try.flatMap`. /d

When i use `Try.getOrElseThrow`, i get the following error: ![image](https://user-images.githubusercontent.com/3519438/76628073-74c91600-653c-11ea-8d8a-8fea570aa88d.png) This is the code in question: ```kotlin val flow = Try { flowDao.save(Flow(source.name, source.applicationId)) } .getOrElseThrow { FlowNameAlreadyInUse() } ```...

Reproduce issue #17 Try overload resolution ambiguity. Not sure if we want to merge this test, but at least I prove the issue exist with it.

Java collections in Kotlin can be easily converted to arrays using reified generics, and it would be nice to have the same functionality directly on Vavr collections. The implementation can...