[Top][All Lists]

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

Re: define - any name

From: Egil Moeller
Subject: Re: define - any name
Date: Mon, 21 Apr 2003 19:22:22 +0200 (CEST)

After some digging in the not-so-very-good guile documentation, I found
local-eval. That's a good one. And it solves my problem fine:

guile> (define
   (lambda (code env)
     (local-eval (list 'quasiquote (cdr code)) env))))
guile> (define y 'foo)
guile> (quasieval define ,y 'zzg)
guile> foo

Hm, how do one submit an SRFI? I think my quasieval could be of use by
others too, if it does not allready exist somewhere out there...

GPG Public key:
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

reply via email to

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