lib/lambda_driver/flipable.rb in lambda_driver-1.2.4 vs lib/lambda_driver/flipable.rb in lambda_driver-1.3.0
- old
+ new
@@ -1,10 +1,10 @@
# -*- encoding : utf-8 -*-
module LambdaDriver::Flipable
# Returns function whose parameter order spawed 1st for 2nd.
# A result of filped fuction is curried by Proc#curry.
#
- # f = lamdba{|x, y, z| [x, y, z]}
+ # f = lambda{|x, y, z| [x, y, z]}
# h = f.flip
# h.(:a).(:b).(:c) # => [:b, :a, :c]
#
# If arguments is var-args, pass explicitly arity to curring.
#