Strange use of Lambda arrow
Chris Angelico
rosuav at gmail.com
Fri Jun 5 20:01:00 EDT 2020
On Sat, Jun 6, 2020 at 8:24 AM Cameron Simpson <cs at cskk.id.au> wrote:
> The OP may be being confused by JavaScript, where they have "arrow
> functions", which are what Python calls lambda: anonymous functions. It
> uses an arrow in the syntax:
>
> (x,y) -> x+y
>
In JS, they're sometimes called "fat arrow" functions, because they
are spelled "=>". Maybe there's some other language where they're
spelled "->"?
ChrisA
More information about the Python-list
mailing list