guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Function call inside macros


From: Sergey Dolin
Subject: Function call inside macros
Date: Sat, 1 Sep 2001 21:25:10 +0600
User-agent: Mutt/1.2.5i

Once again...

(define-macro (http:let binds body)
  `(let (,@(http:uri-query-string->lists (getenv "QUERY_STRING"))
                  ,@binds)
         ,body))

This macro works well but _only_ one time. (Obviosly: macro defined
once with one value of QUERY_STRING)

For CGI applications it's ok. But for Fast CGI:

(while (fcgi:accept)
        (http:let
           ...))

I can't get http query parametrs except first...


-- 
Sergey
Mutt/1.2.5i*FVWM2*[FreeBSD 4.3-RELEASE]*(486DX2-50/20/730 Digial HiNote cs450)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]