Maybe

Scala Maybe. Inspired by Lift's Box, Haskell's Maybe and Scala's Option. A few noteable characteristics: * `Maybe()` is a polymorphich constructor that Does The Right Thing, no matter the input. * `get` is only provided for a `Just` value, not in the general `Maybe` API. * `map` on a `Just` Does The Right Thing, even if the calling function explodes.

License

License

Categories

Categories

Erdos Business Logic Libraries Science
GroupId

GroupId

com.ckkloverdos
ArtifactId

ArtifactId

maybe
Last Version

Last Version

0.6.0
Release Date

Release Date

Type

Type

jar
Description

Description

Maybe
Scala Maybe. Inspired by Lift's Box, Haskell's Maybe and Scala's Option. A few noteable characteristics: * `Maybe()` is a polymorphich constructor that Does The Right Thing, no matter the input. * `get` is only provided for a `Just` value, not in the general `Maybe` API. * `map` on a `Just` Does The Right Thing, even if the calling function explodes.
Project URL

Project URL

https://github.com/loverdos/maybe
Project Organization

Project Organization

ckkloverdos.com
Source Code Management

Source Code Management

https://[email protected]/loverdos/maybe

Download maybe

How to add to project

<!-- https://jarcasting.com/artifacts/com.ckkloverdos/maybe/ -->
<dependency>
    <groupId>com.ckkloverdos</groupId>
    <artifactId>maybe</artifactId>
    <version>0.6.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.ckkloverdos/maybe/
implementation 'com.ckkloverdos:maybe:0.6.0'
// https://jarcasting.com/artifacts/com.ckkloverdos/maybe/
implementation ("com.ckkloverdos:maybe:0.6.0")
'com.ckkloverdos:maybe:jar:0.6.0'
<dependency org="com.ckkloverdos" name="maybe" rev="0.6.0">
  <artifact name="maybe" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.ckkloverdos', module='maybe', version='0.6.0')
)
libraryDependencies += "com.ckkloverdos" % "maybe" % "0.6.0"
[com.ckkloverdos/maybe "0.6.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.9.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

Versions

Version
0.6.0
0.5.0
0.4.0