RubyGems.org

funkr

0.0.27

Funkr is a functionnal toolbox for the Ruby language. In particular, it offers a simple mechanism to create Algebraïc Data Types and do pattern matching on them. 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. Array and Hash classes are extended with methods providing correct behaviour with respect to categories. Enumerable module comes with a lot of useful functions for working with lists and sets. See the module documentation and the test suite for examples.

installgem install funkr -v 0.0.27
Authors

Paul Rivier

26,467 total downloads 961 for this version
Owners

14569d4040f87f71fe7acc394cdb2615

Gemfile
gem 'funkr', '~> 0.0.27'
Versions
  1. 0.0.28 December 5, 2011 (13 KB)
  2. 0.0.27 December 5, 2011 (13 KB)
  3. 0.0.26 December 5, 2011 (12.5 KB)
  4. 0.0.25 December 5, 2011 (12.5 KB)
  5. 0.0.24 December 5, 2011 (12.5 KB)
Show all versions (27 total)
Development Dependencies
  1. rake ~> 0.9.2