Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lisp Macrology

Name: Anonymous 2009-09-12 19:42

Post crazy Lisp macros you've written in this thread.

I'll start off with a quick one I wrote 15minutes ago, PROGK:

Name: Anonymous 2009-09-12 20:49

>>1
Why are you even using a macro for this?

(defun progk (k &rest body)
  (if (<= k (length body))
      nil
    (nth k body)))

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List