MVN

io.github.joselion : maybe

Maven & Gradle

Jun 04, 2023
12 stars

maybe · Maybe<T> is a monadic wrapper similar java.util.Optional, but with a different intention. By leveraging Optional<T> benefits, it provides a functional API that safely allows us to perform operations that may or may not throw checked and unchecked exceptions. The wrapper intends to help us avoid the imperative try/catch syntax, while promoting safe exception handling and functional programming principles.

<dependency>
    <groupId>io.github.joselion</groupId>
    <artifactId>maybe</artifactId>
    <version>3.2.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of io.github.joselion : maybe to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.2.0

All Versions

Choose a version of io.github.joselion : maybe to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.2.x
maybe-3.2.0
3.1.x
maybe-3.1.0
3.0.x
maybe-3.0.1
maybe-3.0.0

How to add a dependency to Maven

Add the following io.github.joselion : maybe maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>io.github.joselion</groupId>
    <artifactId>maybe</artifactId>
    <version>3.2.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following io.github.joselion : maybe gradle dependency to your build.gradle file:

implementation 'io.github.joselion:maybe:3.2.0'

Gradle Kotlin DSL: Add the following io.github.joselion : maybe gradle kotlin dependency to your build.gradle.kts file:

implementation("io.github.joselion:maybe:3.2.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following io.github.joselion : maybe sbt scala dependency to your build.sbt file:

libraryDependencies += "io.github.joselion" % "maybe" % "3.2.0"