Kotlin Options Versions Save

Kotlin Options with functional operators

0.10

6 years ago

0.9

6 years ago
  • Use Kotlin 1.2

0.8

6 years ago
  • Add RxJava2 extensions
  • Add Option assertions
  • Add Moshi adapter
  • Allow map to return nullable
  • Add or orDefault with lazy evaluation
  • Make tryAsOption a non-member function

0.7

6 years ago
  • Make Some and None package level entities. You can now refer to them without the Option prefix.
  • Remove isSome and isNone. You could instead use Kotlin's is Some or is None comparisons.
  • Add Iterable extensions to allow filtering from Iterable<Option<T>> to Iterable<T>.

0.6

6 years ago
  • Add extensions for Maybe
  • Add predicate based extensions for filterIfSome

0.4

6 years ago
  • Move optionOf to package level function
  • Add assertions module
  • Add RxJava2 extensions module

0.3

6 years ago
  • Add toNullable()
  • Rename flatmap() to flatMap()
  • Remove id()

0.2

6 years ago

Makes Option.None part of the API.

0.1

6 years ago