disjunkt

A right-biased, monadic disjunction for Kotlin multiplatform.

License

License

Categories

Categories

Takes User Interface Web Frameworks
GroupId

GroupId

io.github.tablestakes
ArtifactId

ArtifactId

disjunkt-jvm
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

disjunkt
A right-biased, monadic disjunction for Kotlin multiplatform.
Project URL

Project URL

https://github.com/tablestakes/disjunkt
Source Code Management

Source Code Management

https://github.com/tablestakes/disjunkt.git

Download disjunkt-jvm

Dependencies

compile (2)

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

Project Modules

There are no modules declared in this project.

codebeat badge download codecov

Disjunkt

A right-biased, monadic disjunction for Kotlin multiplatform.

Largely drawn from libs like arrow, result4k and Kotlin's own result, but multiplatform, applicable beyond success/failure and accompanied by a handy set of extension functions.

Installation

Kotlin JVM

kotlin {
    sourceSets {
        main {
            dependencies{
                implementation("io.github.tablestakes:disjunkt:0.1.1")
            }
        }
    }
}

Kotlin Multiplatform

Currently built for jvm (11), linux_x64, js platform targets. All code is Kotlin common, so if you want to see support for additional platforms, feel free to raise an issue/pull request.

kotlin {
    sourceSets {
        commonMain {
            dependencies {
                implementation("io.github.tablestakes:disjunkt:0.1.1")
            }
        }
    }
}

Versions

Version
0.1.1