Vavr integration for Kotlin
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper release 0.9.3 Jan 23, 2019
src release 0.9.3 Jan 23, 2019
.gitignore Draft version (#2) Apr 13, 2017
LICENSE update copyright headers; add license Sep 12, 2017 mave-central badge Sep 18, 2017
gradlew release 0.9.3 Jan 23, 2019
gradlew.bat release 0.9.3 Jan 23, 2019
settings.gradle.kts using gradle-kotlin-script Aug 14, 2018

Maven Central Build Status codecov

Vavr Kotlin

Vavr Kotlin is a set of Kotlin niceties for the Vavr functional collections library:

  • idiomatic factory methods
  • extension forms of sequence
  • conversions to and from Kotlin collections


Import Vavr Kotlin as follows:

import io.vavr.kotlin.*


val optionOf: Option<Seq<Int>> = list(some(1), some(2), none()).sequence()

See the Wiki for detailed API.