This repository has been archived on 2021-12-03. You can view files and clone it, but cannot push or open issues or pull requests.
functional/README.md
2010-04-19 21:08:49 +02:00

200 B

Install

gem install functional

Usage

require 'functional'

obj = 0 .. 10**12
Functional.new( obj).select {|i| i.even? }.map {|i| i/3 }.select {|i| i.even? }.each &method( :puts)