MiP
MiP

Reputation: 499

Functional programming interfaces in Java

Where can I look for a list of Java standard libraries for functional design patterns? I've heard java.util package contain all of data structures, but I can't find the equivalents of functional interfaces in it:

Monoid -> Appendable

Monad -> Flattenable

Functor -> Mapable

Applicative -> Sequencable

Arrow -> Stateful

Lens -> Damnable

There are also Foldable, Traversable, Parser, Pipe and so on.

Upvotes: 1

Views: 160

Answers (1)

Alexander
Alexander

Reputation: 48232

Try this open source project: https://github.com/functionaljava/functionaljava

"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."

Upvotes: 2

Related Questions