MVN

nl.markv : result

Maven & Gradle

Apr 03, 2022
6 stars

`Result` is a value that can be either `Ok` or `Err`, to signal whether an operation succeeded or failed. Each variant can contain data, e.g. `Result<User, ErrMsg>` contains a `User` if ok, and `ErrMsg` when it fails.

<dependency>
    <groupId>nl.markv</groupId>
    <artifactId>result</artifactId>
    <version>1.1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of nl.markv : result to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.1.0

All Versions

Choose a version of nl.markv : result to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.1.x
result-1.1.0

How to add a dependency to Maven

Add the following nl.markv : result maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>nl.markv</groupId>
    <artifactId>result</artifactId>
    <version>1.1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following nl.markv : result gradle dependency to your build.gradle file:

implementation 'nl.markv:result:1.1.0'

Gradle Kotlin DSL: Add the following nl.markv : result gradle kotlin dependency to your build.gradle.kts file:

implementation("nl.markv:result:1.1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following nl.markv : result sbt scala dependency to your build.sbt file:

libraryDependencies += "nl.markv" % "result" % "1.1.0"

Advertisement