"Maciek Godek" <[EMAIL PROTECTED]> writes:
> By the way, the let-alias syntax you
> gave me in your former letter doesn't work with guile either.
I am curious about this; was this with use-syntax on syncase, or
use-modules/#:use-module?
Or maybe it has just been a while. :)
--
I write stuff at
"Maciek Godek" <[EMAIL PROTECTED]> writes:
> Hi,
> I've been trying to write a function or macro that
> would work like this:
>
> (let ((a 0)(b 0))
> (set-pair! '(a . b) '(1 . 2))
> (cons a b)) ; => (1 . 2)
>
> I eventually wrote:
>
> (define (set-pair! pair values)
> (let ( (e (the-environm
Hi,
I've been trying to write a function or macro that
would work like this:
(let ((a 0)(b 0))
(set-pair! '(a . b) '(1 . 2))
(cons a b)) ; => (1 . 2)
I eventually wrote:
(define (set-pair! pair values)
(let ( (e (the-environment)) (a (car pair)) (d (cdr pair)) )
(local-eval
`(