guix-patches
[Top][All Lists]
Advanced

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

[bug#31399] [PATCH] import: elpa: Implement recursive import.


From: Ludovic Courtès
Subject: [bug#31399] [PATCH] import: elpa: Implement recursive import.
Date: Fri, 25 May 2018 14:00:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi Oleg,

Oleg Pykhalov <address@hidden> skribis:

> I stole recursive importer from ‘cran’ and made it for ‘elpa’, the patch
> is attached.  I don't like it and want to share the code with ‘cran’
> importer, but I don't know how to do it without increasing complexity.

Indeed.  Ricardo and I discussed this in the past and Ricardo started
implementing something:

  http://lists.gnu.org/archive/html/guix-devel/2016-08/msg00381.html

It would be great to resume work on this, especially since we have other
importers that would immediately benefit from it (CRAN, Go, Crates).

The solution I proposed back then was to have importers return a SRFI-41
lazy stream of package definitions.

Perhaps there are other ways to achieve this, like simply letting the
top-level importer code check whether a package input is missing and
recurse.

Thoughts?

Thanks,
Ludo’.





reply via email to

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