From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drR9z-0006CZ-5f for guix-patches@gnu.org; Mon, 11 Sep 2017 12:02:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drR9w-0002tG-1H for guix-patches@gnu.org; Mon, 11 Sep 2017 12:02:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53316) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drR9v-0002tB-UE for guix-patches@gnu.org; Mon, 11 Sep 2017 12:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drR9u-00078m-Ab for guix-patches@gnu.org; Mon, 11 Sep 2017 12:02:03 -0400 Subject: [bug#28377] [PATCH 06/10] system: Introduce a disjoint UUID type. Resent-Message-ID: Date: Mon, 11 Sep 2017 18:01:12 +0200 From: Danny Milosavljevic Message-ID: <20170911180112.3221a425@scratchpost.org> In-Reply-To: <20170906221756.17024-6-ludo@gnu.org> References: <20170906221756.17024-1-ludo@gnu.org> <20170906221756.17024-6-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: 28377@debbugs.gnu.org > +(define (device->sexp device) > + "Serialize DEVICE as an sexp (really, as an object with a read syntax.)" > + (match device > + ((? uuid? uuid) > + ;; TODO: Preserve the type of UUID. Yes :) Otherwise LGTM!