module Daitai::Pipe

Public Instance Methods

pipe() click to toggle source
# File lib/daitai/functions/pipe.rb, line 5
def pipe
  lambda do |f, g|
    ->(*args) { g.(f.(*args)) }
  end.curry
end