[hunchentoot-devel] interning strings under Hunchentoot

Andrei Stebakov lispercat at gmail.com
Mon Apr 14 00:03:10 UTC 2008


If I try to intern a string so I can call a function with this name,
Hunchentoot returns an error that this function is not defined.
For example, if in a HT request handler I call (apply 'some-func '("str1"
"str2")) everything is OK, the function is called.
If I call it like (apply (intern "SOME-FUNC") '("str1" "str2")) an exception
occurs saying that SOME-FUNC is not defined.
I need it to compose a function name by concatenating strings.
BTW, when I do the same thing from REPL, both ways work.
I am still just learing lisp and maybe this is not specifically HT related
question, but I'd like to know why it happens.
I am using hunchentoot-0.14.2 and sbcl 1.0.6.

Thank you,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20080413/7ad1fde5/attachment.html>


More information about the Tbnl-devel mailing list