guile-user
[Top][All Lists]
Advanced

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

procedure->macro vs procedure->memoizing-macro again


From: Sergey Dolin
Subject: procedure->macro vs procedure->memoizing-macro again
Date: Sun, 20 May 2001 01:07:25 +0600
User-agent: Mutt/1.2.5i

Some time ago I described the problem. And had got the solution.
But it does not works for all cases.

I want to have (http:let ...) macros:

(define-macro (http:let bindings . body)
        `(let (,@bindings
                   ,@(some-bindings-generator))
                   ,@body))

Looks nice. But (some-bindings-generator) is called only once because
of implementstion define-macro with procedure->memoizing-macro.
I've broken my head...

-- 
Mutt/1.2.5i [Linux 2.2.18 i486 Digial HiNote] via Qmail-1.03



reply via email to

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