Skip to content

Pet-project for Either type-class Kotlin implementation

License

Notifications You must be signed in to change notification settings

SiberianPathfinder/Either

Repository files navigation

Either

Version License: MIT

Why?

This small pet-project is a library publication training exercise.

Maybe you are looking for Either implementation like Arrows.

Description

There is simplest Either type-class implementation. It's usable just in cases when you'll mark some computation as failure-success dichotomic result.

Download

Available through jitpack.

Add the maven repo to your root build.gradle

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

Dependency

implementation "com.github.SiberianPathfinder:Either:{latest-version}"