optional

Optional<T> and Result<T, E> types for Kotlin

License

License

GroupId

GroupId

org.llvm4j
ArtifactId

ArtifactId

optional
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

optional
Optional<T> and Result<T, E> types for Kotlin
Project URL

Project URL

https://github.com/llvm4j/optional
Source Code Management

Source Code Management

https://github.com/llvm4j/optional

Download optional

Dependencies

runtime (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.31

Project Modules

There are no modules declared in this project.

Optional

Implementation of Option<T> and Result<T, E> for Kotlin.

This package provides a basic and quick implementation of the Result and Option types for Kotlin. We may use these types to ensure we have no nullables when we're calling Kotlin code from Java or Scala or to perform exception-free error handling.

Optional is available through Maven Central.

dependencies {
    implementation("org.llvm4j:optional:0.1.0")
}

Snapshot builds are available in Sonatype's snapshot repositories:

repositories {
    maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

dependencies {
    implementation("org.llvm4j:optional:0.1.1-SNAPSHOT")
}

Note: this package is mostly used internally within llvm4j's projects and shared across multiple projects.

License

Licensed under the Apache 2.0 License with LLVM exceptions

org.llvm4j

LLVM for Java

Building a bridge between the LLVM/Clang ecosystem and the Java platform

Versions

Version
0.1.0