On 2/4/24 11:50 AM, Christina O'Donnell wrote:
I'm trying to write a Guile script to trace symbol definition and
reference
between modules in a large Guile repo (GNU/Guix), for the purposes of
large
scale refactoring.
? Seems a little bit baroque to me, I'd expect a simpler way of doing
it.
>Onderwerp: Getting all symbols in a Scheme file as a list
The following will give you a list of all the symbols (unless I made some
syntax errors) (also replace ‘ by a proper quote, e-mail program is corrupting
it):
(use-modules (ice-9 match))
(define (all-symbols s-exp)
(match s-exp
(
Hi,
I'm trying to write a Guile script to trace symbol definition and reference
between modules in a large Guile repo (GNU/Guix), for the purposes of large
scale refactoring.
I'm wondering how I could programmatically get all the values in a
Scheme file
as an S-expression. From the manual, I k
Hi, and thanks to you, too.
-Andreas
Damien Mattei writes:
> Hi Andreas,
> a good explanation is here:
> https://stackoverflow.com/questions/31909121/how-does-the-named-let-in-the-form-of-a-loop-work
> personally i avoid to use it, as i can do the same with internal
> definitions .
> regards,
>
Hi Andreas,
a good explanation is here:
https://stackoverflow.com/questions/31909121/how-does-the-named-let-in-the-form-of-a-loop-work
personally i avoid to use it, as i can do the same with internal
definitions .
regards,
Damien
On Sat, Feb 3, 2024 at 10:49 PM Andreas Reuleaux wrote:
> Hi,
>
>