Skip to content
/ jcurry Public

Java library that extends Java 8's functional interfaces to support currying.

License

Notifications You must be signed in to change notification settings

adorow/jcurry

Repository files navigation

jcurry

Build Status Maven Central

about

jcurry is a library that extends the main @FunctionalInterface interfaces defined in Java8. The main goal is to add in those interfaces the ability to curry parameters into those interfaces, (changing this way the functional interface it represents).

The entrypoint is the jcurry.util.function.Currying class, where it is required to decorate the given functional interface, to be able to use the extensions.

jcurry requires no additional libraries, it is completely independent (the only requirement is Java8).

Some of the added functionality are:

  • currying;
  • flipping input parameters;
  • composition (where not already applied by Java8).

using jcurry

Maven

<dependency>
    <groupId>com.github.adorow</groupId>
    <artifactId>jcurry</artifactId>
    <version>1.0.1</version>
</dependency>

Gradle

dependencies {
    compile "com.github.adorow:jcurry:1.0.1"
}

collaborators

About

Java library that extends Java 8's functional interfaces to support currying.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages