Re: Strange use of Lambda arrow

2020-06-06 Thread edmondo . giovannozzi
Have a look at: https://docs.python.org/3/library/typing.html Il giorno venerdì 5 giugno 2020 18:35:10 UTC+2, Agnese Camellini ha scritto: > Hello to everyone, lately i building up an open source project, with some > collaborator, but one of them cannot contribute any more. He is a solution > ar

Re: Strange use of Lambda arrow

2020-06-05 Thread Cameron Simpson
On 06Jun2020 02:48, MRAB wrote: On 2020-06-06 01:01, Chris Angelico wrote: On Sat, Jun 6, 2020 at 8:24 AM Cameron Simpson 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 synt

Re: Strange use of Lambda arrow

2020-06-05 Thread MRAB
On 2020-06-06 01:01, Chris Angelico wrote: On Sat, Jun 6, 2020 at 8:24 AM Cameron Simpson 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, th

Re: Strange use of Lambda arrow

2020-06-05 Thread Chris Angelico
On Sat, Jun 6, 2020 at 8:24 AM Cameron Simpson 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" fu

Re: Strange use of Lambda arrow

2020-06-05 Thread Cameron Simpson
On 06Jun2020 02:40, Chris Angelico wrote: On Sat, Jun 6, 2020 at 2:36 AM Agnese Camellini wrote: Hello to everyone, lately i building up an open source project, with some collaborator, but one of them cannot contribute any more. He is a solution architect so he is very skilled (much more than

Re: Strange use of Lambda arrow

2020-06-05 Thread Chris Angelico
On Sat, Jun 6, 2020 at 2:36 AM Agnese Camellini wrote: > > Hello to everyone, lately i building up an open source project, with some > collaborator, but one of them cannot contribute any more. He is a solution > architect so he is very skilled (much more than me!). I am now analysing > his code to