[hunchentoot-devel] standalone server lw 5.0

Jonathon McKitrick jmckitrick at reedlarkeygroup.com
Wed Mar 7 23:15:53 UTC 2007


On Wed, March 7, 2007 5:11 am, Edi Weitz said:
>> (setq *dispatch-table* (list (create-prefix-dispatcher "/" #'bleh)))
> you redefined BLEH.  I'd recommend using
>
>   (setq *dispatch-table* (list (create-prefix-dispatcher "/" 'bleh)))
>
> instead, so changes to BLEH are immediately picked up.

I'd like to understand from a lisp standpoint why this works the way it
does.  What is it about the function operator #' that it only grabs the
value of the symbol when first evaluated?  Is there a 'hidden' closure
operation?

-- 
Jonathon McKitrick
Reed Larkey Group





More information about the Tbnl-devel mailing list