3 ms·
It's been a while, but doesn't it have restrictions, like you can only use it for one liners? Edit: found this via Google - "lambda functions can not contain c
by facepalm 12y ago
It's been a while, but doesn't it have restrictions, like you can only use it for one liners?
Edit: found this via Google - "lambda functions can not contain commands, and they can not contain more than one expression"
- boomlinde 12y ago> and they can not contain more than one expression I don't believe that is different from e.g. scheme. Ideally, a lambda expression would look like a normal function body, but I definitely wouldn't discount them as "not real" on this basis.
- facepalm 12y agoIirc in scheme you can put anything into a lambda that you want. Of course the Python lambda is "real", the correct word to use would have been "limited" I suppose.