Re: 2nd level pure function
- To: mathgroup@smc.vnet.net
- Subject: [mg11109] Re: [mg10948] 2nd level pure function
- From: Wouter Meeussen <eu000949@pophost.eunet.be>
- Date: Sun, 22 Feb 1998 14:55:35 -0500
not so evident, but short: (you shurely found it yourself by now!) Function[z,z+#1]& is the pure function you need: Function[z,z+#1]& [a] Out[1]= Function[z,z+a] and: Function[z,z+#1]& [a][b] Out[2]= a+b wouter. At 00:53 14-02-98 -0500, richard nathan linger wrote: > >I am having a problem with explicit functions. I am trying to write a >procedure that returns a function that returns a function. I would >like to have it return this as a pure function. I am not sure how to >do this. > >I will state this problem another way; I know that if f[a]=4+a, then as >a pure function, f is analagous to Function[4 + Slot[1]]. I want to >know how to represent f as a pure function when f[a][b]=a+b; > >Nathan Linger >Sophomore >University of Illinois > > > Dr. Wouter L. J. MEEUSSEN w.meeussen.vdmcc@vandemoortele.be eu000949@pophost.eunet.be