From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/7] import cran: description->package: Also return package dependencies. Date: Mon, 30 May 2016 10:51:44 +0200 Message-ID: <87d1o49bdr.fsf@gnu.org> References: <1464018008-1767-1-git-send-email-ricardo.wurmus@mdc-berlin.de> <1464018008-1767-4-git-send-email-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7IvP-0001RY-MX for guix-devel@gnu.org; Mon, 30 May 2016 04:51:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7IvM-0003G4-Hu for guix-devel@gnu.org; Mon, 30 May 2016 04:51:51 -0400 In-Reply-To: <1464018008-1767-4-git-send-email-ricardo.wurmus@mdc-berlin.de> (Ricardo Wurmus's message of "Mon, 23 May 2016 17:40:04 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus skribis: > * guix/import/cran.scm (description->package): Return package > dependencies in addition to generated package expression. What would you think of making it return a SRFI-41 stream of packages instead? Or maybe two values: the package asked for, and the stream containing its dependencies. That would hide the package lookup machinery. Ludo=E2=80=99.