From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d33pq-0004zt-OT for guix-patches@gnu.org; Tue, 25 Apr 2017 13:01:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d33pn-0004YC-31 for guix-patches@gnu.org; Tue, 25 Apr 2017 13:01:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d33pm-0004Xm-NM for guix-patches@gnu.org; Tue, 25 Apr 2017 13:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d33pm-00039f-FP for guix-patches@gnu.org; Tue, 25 Apr 2017 13:01:02 -0400 Subject: bug#26652: [PATCH 1/2] profiles: Add manifest->packages. Resent-Message-ID: References: <20170425125810.7373-1-m.othacehe@gmail.com> <20170425130024.9481-1-m.othacehe@gmail.com> <87bmrkph7z.fsf@gmail.com> From: Mathieu Othacehe In-reply-to: <87bmrkph7z.fsf@gmail.com> Date: Tue, 25 Apr 2017 19:00:04 +0200 Message-ID: <877f28e82z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Maxim Cournoyer Cc: 26652@debbugs.gnu.org Hi Maxim, > The filter-map part seems problematic, IIUC. You might end up with an > `#f' in your list of packages, no? Maybe you could use something like: Your variant seems easier to understand, but it seems to me that filter-map removes #f applications of the list. Thanks, Mathieu