
7 Apr
2014
7 Apr
'14
5:16 p.m.
On Tue, Apr 08, 2014 at 03:58:30AM +0700, Kim-Ee Yeoh wrote:
On Mon, Apr 7, 2014 at 11:02 PM, ducis
wrote: It lets your write lambdas with 'slots' without inventing names for the parameters.
[s| ı + ı |] = \x y -> x+y
I have no background in this 'slot lambda' and a search reveals this package as the only hit.
Which may explain why I find the example given confusing. Why would [s| 1+1 |] not be equivalent to \x->x+x ?
Because each slot stands for a new variable.