Types of lambda args

Cecil Ward cecil at cecilward.com
Mon Aug 17 00:20:24 UTC 2020


In a lambda, how do we know what types the arguments are? In 
something like
     (x) => x * x

- there I just don’t get it at all. Can you write
     (uint x) => x * x

I’m lost.

Cecil Ward.


More information about the Digitalmars-d-learn mailing list