Procrastination Versions Save

A small, straightforward library bringing the benefits of functional programming to Java 11

0.3.0

5 years ago

Javadoc

Maven

Add the JitPack repository to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

And add the dependency:

<dependency>
    <groupId>io.github.gdejohn</groupId>
    <artifactId>procrastination</artifactId>
    <version>0.3.0</version>
</dependency>

See instructions for other build tools at JitPack.

Known Issues

  • Sequence.group(BiPredicate) doesn't do what it says it does (~#16~)

Changelog

There were 35 commits between 0.2.0 and this release.

Changed

  • Either, Maybe, Pair, and Sequence now consistently disallow null elements
  • Renamed Sequence.uncons() to Sequence.maybe()

Fixed

  • Space leak in Sequence.prefixes()

Removed

  • Sequence.matchOrThrow(), Sequence.matchOrThrow(Supplier), Sequence.matchLazyOrThrow(), Sequence.matchLazyOrThrow(Supplier)
  • Either.rightOr(Object), Either.rightOr(Supplier), Either.rightOr(Function), Either.rightOrThrow(), Either.rightOrThrow(Supplier)
  • Either.leftOr(Object), Either.leftOr(Supplier), Either.leftOr(Function), Either.leftOrThrow(), Either.leftOrThrow(Supplier)
  • Either.map(Function,Either), Either.flatMap(Function,Either), Either.apply(Either,Either)

0.2.0

5 years ago

Javadoc

Maven

Add the JitPack repository to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

And add the dependency:

<dependency>
    <groupId>io.github.gdejohn</groupId>
    <artifactId>procrastination</artifactId>
    <version>0.2.0</version>
</dependency>

See instructions for other build tools at JitPack.

Changelog

There were 7 commits between 0.1.0 and this release.

Changed

  • Delegate Sequence.sort() to Stream.sorted() for much better performance

0.1.0

5 years ago

Javadoc

Maven

Add the JitPack repository to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

And add the dependency:

<dependency>
    <groupId>io.github.gdejohn</groupId>
    <artifactId>procrastination</artifactId>
    <version>0.1.0</version>
</dependency>

See instructions for other build tools at JitPack.