[racket] hack: implicit function arguments

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sat Aug 14 13:21:02 EDT 2010

On Sat, Aug 14, 2010 at 1:00 PM, Todd O'Bryan <toddobryan at gmail.com> wrote:
> On Sat, Aug 14, 2010 at 11:54 AM, Matthias Felleisen
> <matthias at ccs.neu.edu> wrote:
>> On Aug 14, 2010, at 1:01 AM, Jon Rafkind wrote:
>>> Partly inspired by scala; sure to make your blood boil if you love hygiene.
>> This just lowered my opinion of Scala a lot. I hacked enough TeX (including quasi-higher order) in the 80s to know that parameters shouldn't be numbered, neither explicitly nor implicitly :-)
> Scala only uses this _1, _2 style to get members out of tuples, I
> think. I can't find it being used to identify parameters.

I think what Jon was referring to is a feature of Scala more like
Jay's 'scut' macro - you can implicitly create a function by inserting
an _.  For example:

_ + 1 in scala is the same as (lambda (x) (+ x 1))
sam th
samth at ccs.neu.edu

Posted on the users mailing list.