From: Jason Lillywhite Date: 2009-02-03T22:46:06+09:00 Subject: Re: choose parameter to solve for adder = lambda { |x,y,z| x+y+z } z = lambda { |z| adder[1,2,z] } z[3] This is what I want: write my equation one time then use that equation in many different ways - solve for any one variable of my choice without re-writing the equation. Thank you so much! > > But I still think some flavour of currying is what you want. Is it > important that arbitrary parameters are fixed, rather than just the > left-most ones? It is important that arbitrary parameters are fixed as long as only one parameter is unknown. Thank you. -- Posted via http://www.ruby-forum.com/.