Hacker News new | past | comments | ask | show | jobs | submit login

You'll find lispm's, from a sibling comment, even clearer:

  (defmacro debug-it (&body expressions)
    `(progn
        ,@(mapcar (lambda (expression)
                    `(format t "~%~a: ~a" ',expression ,expression))
                  expressions)))
That's Common Lisp. I probably could have made mine similarly clean, but I was too lazy to do so :-).

Anyways, hats off to lispm, because he's the one who actually did it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: