functionaljava 0,1,1,0,2,0 travis-ci

Functional programming in Java

= Functional Java

image:https://travis-ci.org/functionaljava/functionaljava.svg?branch=master["Build Status", link="https://travis-ci.org/functionaljava/functionaljava"] image:https://coveralls.io/repos/github/functionaljava/functionaljava/badge.svg?branch=master["Coverage Status", link="https://coveralls.io/github/functionaljava/functionaljava?branch=master"] image:https://badges.gitter.im/functionaljava/functionaljava.svg[link="https://gitter.im/functionaljava/functionaljava?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]

image::http://www.functionaljava.org/img/logo-600x144.png[]

Functional Java is an open source library facilitating functional programming in Java. The library implements numerous basic and advanced programming abstractions that assist composition oriented development. Functional Java also serves as a platform for learning functional programming concepts by introducing these concepts using a familiar language.

The library is intended for use in production applications and is thoroughly tested using the technique of automated specification-based testing with ScalaCheck and Functional Java's quickcheck module. Functional Java is compiled with Java 8 targeting Java 7 bytecode. The use of lambdas within the project are backported with the Retro Lambda library, supporting Java versions 6 to 8.

Functional Java provides abstractions for the following types:

  • Basic Data Structures - total and partial functions, products, unit, option, unbiased and right biased unions (either and validation), void.
  • Immutable Collections - array, list, vector, stream, set, map, priority queue, finger tree, heterogenous list, difference list.
  • Other Abstractions - monoid, semigroup, natural, random number generator, reader, writer, state, input/output, parser, zipper, specification based testing (quickcheck), actors, optics (lens, prism, fold, traversal and others), concurrency and type conversion.

== URLs

Important URLs for the project are:

== Downloading

The recommended way to download and use the project is through your build tool.

The Functional Java artifact is published to Maven Central using the group org.functionaljava with three published artifacts:

  • the core library (functionaljava)
  • Java 8 specific support (functionaljava-java8)
  • property based testing (functionaljava-quickcheck)

The latest stable version is 4.6. This can be added to your Gradle project by adding the dependencies:

compile "org.functionaljava:functionaljava:4.6" compile "org.functionaljava:functionaljava-java8:4.6" compile "org.functionaljava:functionaljava-quickcheck:4.6" compile "org.functionaljava:functionaljava-java-core:4.6"

and in Maven:

org.functionaljava functionaljava 4.6 org.functionaljava functionaljava-java8 4.6 org.functionaljava functionaljava-quickcheck 4.6 org.functionaljava functionaljava-java-core 4.6

== Building

FunctionalJava uses the Retro Lambda project to backport Java 8 lambdas to Java 6 bytecode. This requires access to both JDK 6 and 8. The build system requires the environment variables JAVA6_HOME and JAVA8_HOME to refer to the appropriate directories.

Building is done using Gradle 2.13. In the root directory run:

./gradlew

This requires access to Java and will download the Gradle build tool and necessary dependencies and build FunctionalJava.

== Features

A more complete description of the features mentioned above are:

== License

link:etc/LICENCE[The Functional Java license] uses the BSD 3 license (3-clause license) available at https://en.wikipedia.org/wiki/BSD_licenses[].

Related Repositories

functional-ruby

functional-ruby

A gem for adding functional programming tools to Ruby. Inspired by Erlang, Cloju ...

monet.js

monet.js

monet.js - Monadic types library for JavaScript ...

cyclops

cyclops

Home of the cyclops integration modules : support for RxJava, Reactor, Functiona ...

derive4j

derive4j

Java 8 annotation processor and framework for deriving algebraic data types cons ...

QuickTheories

QuickTheories

Property based testing for Java 8 ...


Top Contributors

mperry jbgi tonymorris runarorama retronym orionll amarpotghan puffnfresh dobesv magro xuwei-k gliptak MartinSeeler gneuvill rickyclarkson mrbackend pawelkrupinski daneko bakeemawaytoys clinuxrulz samekmichal knutwalker pbzdyl fakraemer charleso ms-tg samreid blendmaster gpampara gregrow

Releases

-   v4.6 zip tar
-   v4.5 zip tar
-   v4.4.1 zip tar
-   v4.4 zip tar
-   v4.3 zip tar
-   v4.2 zip tar
-   v4.2-beta-1 zip tar
-   v4.1 zip tar
-   v4.0 zip tar
-   v3.2.1 zip tar
-   v3.2 zip tar
-   v3.1 zip tar