Haskell-style partial application and composition for Ruby methods