From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1erPEf-0006FP-Uo for guix-patches@gnu.org; Thu, 01 Mar 2018 09:31:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1erPEc-0008MY-5E for guix-patches@gnu.org; Thu, 01 Mar 2018 09:31:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1erPEc-0008MS-1p for guix-patches@gnu.org; Thu, 01 Mar 2018 09:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1erPEb-0000ur-Sc for guix-patches@gnu.org; Thu, 01 Mar 2018 09:31:01 -0500 Subject: [bug#30629] [PATCH 1/5] Add (guix glob). Resent-Message-ID: Date: Thu, 1 Mar 2018 15:29:59 +0100 From: Danny Milosavljevic Message-ID: <20180301152959.0988414a@scratchpost.org> In-Reply-To: <20180227142245.12674-2-ludo@gnu.org> References: <20180227142245.12674-1-ludo@gnu.org> <20180227142245.12674-2-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30629@debbugs.gnu.org Since this (guix glob) and its tests are new files and we are pretty sure we are going to need them, let's push it to master now. I've tested it using linux-boot so it should be fine ([] should be added later). +(define (compile-glob-pattern str) [...] Add a comment in the front that this pattern is just for saving space only: > ("" (loop (+ 1 wildcard-index) + rest + (cons wildcard result))) LGTM!