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

Help me understand common lisp macros

Name: Anonymous 2009-10-24 15:36

What can common lisp macros do that can't be done by a function that uses eval and gets quoted arguments?

Name: Anonymous 2009-10-24 15:47

I mean you can define

(define (myif pred ifstate elsestate) (eval (list 'if pred ifstate elsestate)))

and then call it like so:

(myif '(> x 1) '(+ x 3) '(- x 2))



so what else can lispmacros do?

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