[Python-Dev] Partial function application

2015-09-11 Thread Herbert Kruitbosch
Dear developers, First of all, I'm a programmer for a data science company and I recently graduated. That being said, I have wondered why python does not have syntactical support (like syntax sugar) for partial function application. I think partial function application is a powerful concept, but

Re: [Python-Dev] Partial function application

2015-09-11 Thread Herbert Kruitbosch
> On Fri, 11 Sep 2015 at 10:41 Herbert Kruitbosch > wrote: > __ >> data_sorted = sort(data, key = #1[0]) > > That syntax won't work because `#` is used to start a comment and > there is no way to disambiguate that in the grammar. Obviously :) The #-syntax is used b