DEFINER is a small hack which demonstrates the power of CL macro facilities.


Essentially it allows for a (let's say it!) Pythonesque, or better, a Dylan-like syntax for various definition forms. E.g.

  • (def var foo 42)

  • (def class panda (animal))

  • (def struct tree-node content left right)

  • (def method bar ((x string)) (print x))

  • (def method bar :after ((x string)) (print "Just printed a string!"))

convenience library