From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wBtWMuVt4GH/WQEAgWs5BA (envelope-from ) for ; Thu, 13 Jan 2022 19:22:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sJe1L+Vt4GEr1QAA9RJhRA (envelope-from ) for ; Thu, 13 Jan 2022 19:22:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9624616F0A for ; Thu, 13 Jan 2022 19:22:29 +0100 (CET) Received: from localhost ([::1]:43820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n84k0-0004WO-Pf for larch@yhetil.org; Thu, 13 Jan 2022 13:22:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n84i5-00025C-Np for guix-devel@gnu.org; Thu, 13 Jan 2022 13:20:32 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:63337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n84hz-0003B4-3l for guix-devel@gnu.org; Thu, 13 Jan 2022 13:20:28 -0500 Date: Thu, 13 Jan 2022 18:20:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1642098018; bh=2hDBNmrBWnFbJ73XtHx5o0NMkyQjt30VMqcm8DxH7yA=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=lgo6EpwC/9BobgdAoPYw8Dr5e81bQSATCipzQYX2JD93UsoTn4aEiqaO6yKgkw9iV dA1Q/J+exNJx1NrY4H8H9vbQj/znIHH9/apTsljCVN8IPOXbOMuAXbScMCiWwrYFyw IGzwUi2i5yw8ia1z6kG4XDhUaCQHJ9Rv011IilDmWXtdx2/uDZHfLkMBMJs3c89K11 RVVOxJH1yZij/cDtVW79x1MlD2NLwuRTHunxrnJh/c8KFNpYDTYoybXzIvJcKmqRUL Q+fWqP2ucj8bdgTRwyw/wfd1O05ycuG0mcbaOTt9FQrI59N6dtAJO/Go3iz9vz63NY J9agrdf0lhOXQ== To: Maxime Devos From: Attila Lendvai Subject: Re: using an SRFI that is not available in Guile Message-ID: In-Reply-To: References: <6vmHCdZdAWsjqvLgmVNEZclQ-JbdRJLfGzLNphX3EbevcslD-_TkMuHA1MwIylOfbe3DkDXYCbx5WT_Q44sC1Qed5MsBUg2xxZKhUbChGGs=@lendvai.name> <94d412c429288b265a22aedd8eff3b3aa35b32e8.camel@telenet.be> <016ZZkL98oO5WENHC8_wYbCvQ45U44f9DsGA17V-MbMl3tz7I69UZlCB53g9SMyAXjzuRdPztbLr6XgmLwOOxeFeeliCM9KiGj2KFgRb4tc=@lendvai.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=attila@lendvai.name; helo=mail-4018.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642098149; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2hDBNmrBWnFbJ73XtHx5o0NMkyQjt30VMqcm8DxH7yA=; b=rB0Z0OlSlP8WIu6QDPEyTRxCmt0fIv7fVXYoacqlrgLnfwk6q+EIBvUfVPRtOdOSqFTGWk efAY0nmkxN+Q1PUgzPbHmBiKIRjaVQnrWyju/WoMpyahf9/kGExOGfnSbZfUrZDerhNA06 hzJxnBKq/PZ/NQRCFTcX3+QjUr4ZD3AiU2kgVkErgEckpNy0U8HKjAvEmrNLY6XvLMyhaB Mmc+neV29aFkYADwyq/n7Z7ZP0FiShTzS8WbKs/LWPuyX9Cj5ouGN/m465jqiAxSINQ7fh 3jXWD1tlylKShBEz+Nu/oL4dqssvOquu5Nrbijc8j6GiOjsAFIFEg62Dbn5NEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642098149; a=rsa-sha256; cv=none; b=b5pB38WPH3W9ymTs09hqPn6aSTDz4/EbqjmpW/tcGzFRsTbVzZLci5AKr1R4W/6KooevoE FSLFgAQexY99j+fHI9H2lRY80uPnlgxnmPOgWXlGec3Zu2lovvlFKNTS/6Cb3JDc08v2u3 An3mwVEtEwTuUMJ6yvggjVIubPxicQ8zIal3Mm8TIov457WpasMUakT5tbSWqRDy+9aX7h kdRVDqNrnH2h+Ye0vQYf1raeWk7suZvTDAdpzVcEuIx+iiMI+3Ze4rY+W2ugK5i1IXF7G4 axXHD+n2JpfJjwIXivgleBR1UbOkcgfIZzpyTjoKLlXuI5MumRWBhIYWlBo+nA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=lgo6EpwC; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=lgo6EpwC; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9624616F0A X-Spam-Score: -5.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ocVDU7qfULew > Using the guile REPL is a little less complicated than the guix repl, > I would recommend trying > > "./pre-inst-env guix shell guile-srfi-189 -- guile" first. no luck with this either: $ ./pre-inst-env guix build guile-srfi-189 /gnu/store/cy1mdr82i8dcj5435hnckibfqks3jmny-guile-srfi-189-0-0.a0e3786 $ ll /gnu/store/cy1mdr82i8dcj5435hnckibfqks3jmny-guile-srfi-189-0-0.a0e3786= /lib/guile/3.0/site-ccache/srfi/ total 336 -r--r--r-- 2 root root 343525 Jan 1 1970 srfi-189.go $ ./pre-inst-env guix shell guile-srfi-189 -- guile GNU Guile 3.0.7 Copyright (C) 1995-2021 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> ,use (srfi srfi-189) While executing meta-command: no code for module (srfi srfi-189) scheme@(guile-user)> > Maybe do "guix build guile-srfi-189" to determine if srfi/189.sld > is actually compiled to .../srfi/srfi-189.go? when i try to build the vanilla srfi repo, then the .sld file is ignored, and no .go file is produced at all. there's this, though: https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00005.html ``` ** R7RS support recognizes the '.sld' extension The '.sld' is what the R7RS suggests as a source file name extension. It is now recognized when running "guile --r7rs", as well as the '.guile.sld' extension. ``` but i guess i can't just compile one lib with --r7rs, and assume the .go file can be loaded into a guile started without --r7rs, or can i? -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CIt is a miracle that curiosity survives formal education. It is a = very grave mistake to think that the enjoyment of seeing and searching can = be promoted by means of coercion and a sense of duty.=E2=80=9D =09=E2=80=94 Albert Einstein (1879=E2=80=931955), 'Autobiographical Notes' = (1949), slightly paraphrased