Prelude - a functional library for Ruby Prelude Prelude is a library of Haskell-style operations written in Ruby with the goal of enabling higher-order functions and monads. The general idea is that functional programming provides many benefits, which are not directly available in Ruby out of the box. This library will, hopefully, provide an infrastructure for the use of most Haskell’s functional