Skip to content

dervism/fpjava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Functional programming in Java

This repo serves as a place to practice functional programming in Java and to understand functional programming by building minimal versions of known Haskell-concepts in Java. Multiple FP-libraries exist for Java, but building these concepts myself help me learn them better.

The repo uses:

  • Algebraic Data Types
  • Sealed classes and interfaces
  • Exhaustive pattern matching
  • Unnamed patterns and variables
  • Records
  • Value types

Todo's:

  • Either a b = Left a | Right b
  • Maybe a = Just a | Nothing
  • Lenses
  • Prisms
  • Traversables
  • Monads
  • Applicatives
  • Functors
  • Monoids
  • Semigroups
  • Partial functions

Haskell books I read:

  • The Haskell Book
  • Haskell in Depth

Video's

About

A repo for practicing FP in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages