Re: nesting pure functions
- To: mathgroup at smc.vnet.net
- Subject: [mg85999] Re: nesting pure functions
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 1 Mar 2008 04:41:21 -0500 (EST)
- Organization: University of Bergen
- References: <47C7144C.4040305@berkeley.edu> <fq8r58$jeh$1@smc.vnet.net>
Ryan Olf wrote: > I have figured out how to do this in one manner. What I want is this: > > g = Function[{x,y,f},f[x,y,#]&] > > Now, the question remains: is there a way to do this without naming > variables explicitly? I would not be surprised if the answer is no. > No, as you guessed, the variables must be named explicitly.