Are stuck with using conses instead of sublists ?
It's just format has a particularly easy built-in for
iterating over sublists of lists:
(format nil "~:{~A=~A&~}" '(("a" "12") ("b" "13")))
David Golden <············@oceanfree.net> writes:
> Are stuck with using conses instead of sublists ?
The list of dotted pairs is generated by Edi's hunchentoot.
> (format nil "~:{~A=~A&~}" '(("a" "12") ("b" "13")))
Ah thanks.
Jens
Jens Teich wrote:
> David Golden <············@oceanfree.net> writes:
>
>> Are stuck with using conses instead of sublists ?
>
> The list of dotted pairs is generated by Edi's hunchentoot.
>
... Yes, it's an alist...
But given what it looks like you're doing, have you
seen e.g. http://weitz.de/url-rewrite/
- see "add-get-param-to-url"
(you'll already have this if you're using hunchentoot...)
David Golden <············@oceanfree.net> writes:
> Jens Teich wrote:
>
>> David Golden <············@oceanfree.net> writes:
>>
>>> Are stuck with using conses instead of sublists ?
>>
>> The list of dotted pairs is generated by Edi's hunchentoot.
>>
> ... Yes, it's an alist...
>
> But given what it looks like you're doing, have you
> seen e.g. http://weitz.de/url-rewrite/
>
> - see "add-get-param-to-url"
>
> (you'll already have this if you're using hunchentoot...)
Oops, reinventing the wheel ...
Thanks for the hint
Jens