Skip to content

paul-r-ml/funkr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Funkr brings some common functional programming constructs to ruby.

In particular, it offers a simple mechanism to create Algebraic Data
Types and do pattern matching on them. For an exemple implementation,
see provided classes.

It also provide modules for common categories (Monoid, Monad,
Functor, Applicative ...), and extends common types to support
categories they belongs to (Array, Hash ...). Categories can also be
used with custom types,  see provided classes.

To get started, we recommand you to read the tests, and get feets wet
with provided Algebraic Data Types (like Maybe).

Funkr is heavily used by its authors in production at
https://www.atikteam.com/en to ensure better code reliability.

About

Functionnal constructs for ruby

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages