guile-user
[Top][All Lists]
Advanced

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

intern a top level variable


From: Mortimer Cladwell
Subject: intern a top level variable
Date: Wed, 16 Aug 2023 08:41:18 -0400

Hi,
How do I intern a top level variable? looks like intern-symbol is
deprecated? Is there a substitute? gensym does not seem to be it:

scheme@(guile-user)> (gensym "abc")
$11 = abc2652
scheme@(guile-user)> abc2652
;;; <unknown-location>: warning: possibly unbound variable `abc2652'
ERROR: In procedure module-lookup: Unbound variable: abc2652

Thanks
Mortimer


reply via email to

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