GNU bug report logs -
#68413
Ungexp doesn't work on deep lists
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, I've been using G-expressions for some time and have always been
hindered by `ungexp` not working on deeper lists. For instance, when I
want to embed in a G-expression a list of packages, it works
>(define packages (list coreutils gnu-make ...))
>
> #~(for-each
> (lambda (f)
> ... do-something)
> '#$packages)
But as soon as I use an object in which the file-like objects are
deeper, it fails
> (define packages
> (list
> (cons "coreutils" coreutils)
> (cons "make" gnu-make)
> ...))
>
> #~(for-each
> (lambda (f)
> ... do-something)
> '#$packages)
If I send a patch to "fix" this, will it be usefull or is there a reason
for this behavior?
Thanks.
This bug report was last modified 1 year and 150 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.