Received: (at 36547) by debbugs.gnu.org; 11 Jul 2019 16:07:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 12:07:00 2019 Received: from localhost ([127.0.0.1]:38474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hlbb2-0000ra-9G for submit <at> debbugs.gnu.org; Thu, 11 Jul 2019 12:07:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1hlbb0-0000rK-P4 for 36547 <at> debbugs.gnu.org; Thu, 11 Jul 2019 12:06:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1hlbav-0001uA-N4; Thu, 11 Jul 2019 12:06:53 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43218 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1hlbav-0003n4-7k; Thu, 11 Jul 2019 12:06:53 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Robert Vollmert <rob@HIDDEN> Subject: Re: bug#36547: expect an earlier/clearer error when trying to splice(?) a function into a gexp References: <BA8E755C-27FE-4762-8738-FEA631EFD0ED@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Messidor an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 11 Jul 2019 18:06:52 +0200 In-Reply-To: <BA8E755C-27FE-4762-8738-FEA631EFD0ED@HIDDEN> (Robert Vollmert's message of "Mon, 8 Jul 2019 14:33:36 +0200") Message-ID: <87ims8sggz.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36547 Cc: 36547 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Robert Vollmert <rob@HIDDEN> skribis: > I tried to use a function in a gexp along the lines of > > (define* (f x) =E2=80=A6) > > #~(begin > (#$f x) > =E2=80=A6) > > This resulted in the following error: > > ERROR: In procedure primitive-load: > In procedure scm_lreadr: /gnu/store/wcw0fii855axkiqfz05283rwl7nlrb3i-puzz= ledb-blogs-job-builder:1:254: Unknown # object: #\< > > where the referenced builder file contains > > =E2=80=A6 (let ((backend (#<procedure read-secret (file)> "tools.token"))= ) =E2=80=A6 > > It seems to me that whatever code writes the builder file should already = complain at the point > where it substitutes #<procedure read-secret (file)> =E2=80=94 is that po= ssible? I think =E2=80=98gexp->sexp=E2=80=99 should simply error out whenever an ob= ject that lacks a read syntax (like a procedure) is inserted in a gexp. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#36547
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jul 2019 12:33:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 08 08:33:55 2019 Received: from localhost ([127.0.0.1]:58012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hkSqB-0004cP-AB for submit <at> debbugs.gnu.org; Mon, 08 Jul 2019 08:33:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:44458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rob@HIDDEN>) id 1hkSq8-0004cG-QG for submit <at> debbugs.gnu.org; Mon, 08 Jul 2019 08:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36721) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from <rob@HIDDEN>) id 1hkSq7-0002VB-H9 for bug-guix@HIDDEN; Mon, 08 Jul 2019 08:33:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hkSpz-0006i2-3c for bug-guix@HIDDEN; Mon, 08 Jul 2019 08:33:45 -0400 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]:59476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rob@HIDDEN>) id 1hkSpy-0006gN-28 for bug-guix@HIDDEN; Mon, 08 Jul 2019 08:33:43 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id C0D4050356 for <bug-guix@HIDDEN>; Mon, 8 Jul 2019 14:33:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id o-S9_CF9EBdC for <bug-guix@HIDDEN>; Mon, 8 Jul 2019 14:33:37 +0200 (CEST) From: Robert Vollmert <rob@HIDDEN> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: expect an earlier/clearer error when trying to splice(?) a function into a gexp Message-Id: <BA8E755C-27FE-4762-8738-FEA631EFD0ED@HIDDEN> Date: Mon, 8 Jul 2019 14:33:36 +0200 To: bug-guix@HIDDEN X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:67c:2050:104:0:1:25:1 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) I tried to use a function in a gexp along the lines of (define* (f x) =E2=80=A6) #~(begin (#$f x) =E2=80=A6) This resulted in the following error: ERROR: In procedure primitive-load: In procedure scm_lreadr: = /gnu/store/wcw0fii855axkiqfz05283rwl7nlrb3i-puzzledb-blogs-job-builder:1:2= 54: Unknown # object: #\< where the referenced builder file contains =E2=80=A6 (let ((backend (#<procedure read-secret (file)> = "tools.token"))) =E2=80=A6 It seems to me that whatever code writes the builder file should already = complain at the point where it substitutes #<procedure read-secret (file)> =E2=80=94 is that = possible?
Robert Vollmert <rob@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#36547
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.