macro

(macro (symbol form) body)


Description:

Creates a non-hygenic macro.  Form is the whole form includeing the macro name.  See example below.


Arguments:


Returns: boolean


Related: define-macro macro-expand 


Examples:

(macro (myprint form)

    `(print ,@(cdr form)))


(macro-expand '(myprint 'me 'you 'us 'them))

(myprint 'me 'you 'us 'them)



Back to index