Giter VIP home page Giter VIP logo

functionaljava's Introduction

Functional Java is an open source library that seeks to improve the experience of using the Java programming language in a production environment. The library implements several advanced programming concepts that assist in achieving composition-oriented development. Functional Java is written using vanilla Java 1.5 syntax and requires no external supporting libraries. The JAR file will work with your Java 1.5 project without any additional effort.

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.

Functional Java includes the following features:

  * Fully operational Actors for parallel computations (fj.control.parallel) and layered abstractions such as parallel-map, map-reduce, parallel-zip.
  * A package (fj.data.fingertrees) providing 2-3 finger trees for a functional representation of persistent sequences supporting access to the ends in amortized O(1) time.
  * Type-safe heterogeneous list (fj.data.hlist) for lists of elements of differing types without sacrificing type-safety.
  * Monadic parser combinators for writing parsers by combining smaller parsers using composition.
  * Conversion of data types to/from standard Java types.
  * Immutable, in-memory singly linked list (fj.data.List).
  * Immutable lazy singly linked list (fj.data.Stream).
  * Array wrapper (fj.data.Array).
  * Optional value — type-safe null (fj.data.Option).
  * Disjoint union data type — compositional exception handling (fj.data.Either).
  * Monoid (fj.Monoid).
  * Functions with arity 1 to 8.
  * Products of 1 to 8.
  * Configurable equality and hash-code for HashMap and HashSet.
  * Natural number data type (fj.data.Natural).
  * Immutable set implementation using a red/black tree.
  * Immutable multi-way tree — aka rose tree (fj.data.Tree).
  * Immutable tree-map using a red/black tree implementation (fj.data.TreeMap).
  * Zipper implementations for streams and trees.
  * Automated specification-based testing framework (fj.test).

functionaljava's People

Contributors

tonymorris avatar retronym avatar runarorama avatar magro avatar pawelkrupinski avatar ms-tg avatar rickyclarkson avatar samreid avatar gpampara avatar xuwei-k avatar gliptak avatar pelotom avatar etorreborre avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.