Re: Improper use of slot
- To: mathgroup at smc.vnet.net
- Subject: [mg58763] Re: Improper use of slot
- From: "dkr" <dkrjeg at adelphia.net>
- Date: Sun, 17 Jul 2005 13:03:09 -0400 (EDT)
- References: <dbd0vm$2s4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
You want to evaluate the pure function at lst, not map it over lst. In[1]:= lst={5,4,3,2}; Binomial[First[#],Last[#]]&[lst] Out[2]= 10