|
|
|
|
|
by ChargingWookie
4208 days ago
|
|
You can create a list comprehension using a macro. In common lisp, lisp comprehension is implemented by the loop macro.
http://www.gigamonkeys.com/book/loop-for-black-belts.html It is a little more involved, but basically you define a syntax for list comprehension and then parse it using the macro to generate the final result. |
|