News for hackers. Stuff that matters.
Re:What Made Lisp Different (2002) by cmcaine on Saturday February 24, 2018 @03:31PM (#16455221)
Python lambdas cannot contain statements, only expressions. Typical python contains a lot of statements, so that's a bit annoying.

You can define inner functions and so on, and most of the times that I want to use lambdas it's just because I've been stuck in a language without *-comprehensions for too long.

+ works fine on complex numbers.

I'm not super familiar with the loop macro, but it lets you do both things similar to a python comprehension and to a python for loop. I don't think it does anything you can't do in python.

There are no comments on this comment yet.