guile-devel
[Top][All Lists]
Advanced

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

new function


From: Damien Mattei
Subject: new function
Date: Sun, 19 Sep 2021 09:54:41 +0200

hello,
i'm developing an extension to Scheme
and i need a procedure or macro that define a variable only if it is not bind and if it is just set! it.

I can not do it in Guile or any Scheme,and i'm desperately searching a way to do that. I finally conclude that it can be done only by adding it in the language.

Can someone include a such function in Guile next release?
i know guile have a predicate defined? to test binfing of a vairable but writing a macro with it is not possible because define can be used in an _expression_ context.

Thank in advance for any help
Damien

reply via email to

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