From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Massimiliano Gubinelli Newsgroups: gmane.lisp.guile.user Subject: Re: Unbound variable warning/exception Date: Sat, 19 Dec 2020 11:08:24 +0100 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16402"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Dec 19 11:08:44 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqZAK-0004AK-19 for guile-user@m.gmane-mx.org; Sat, 19 Dec 2020 11:08:44 +0100 Original-Received: from localhost ([::1]:58118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqZAJ-0004dT-2p for guile-user@m.gmane-mx.org; Sat, 19 Dec 2020 05:08:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqZA9-0004dC-TY for guile-user@gnu.org; Sat, 19 Dec 2020 05:08:33 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:51785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqZA8-00080V-4K for guile-user@gnu.org; Sat, 19 Dec 2020 05:08:33 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id v14so5145475wml.1 for ; Sat, 19 Dec 2020 02:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SiSDOhTXTXfVeWO89V9YX7pyYZnCLF8XH4RNFLmvpLg=; b=WTrMuS+XYKnWQvBhjMQIUWrR0Vget1Ps2HWdRqtHIYRtnnCGKrcGuuyHxg1O74Exyh /Za7tGUvE7JSAZfRlV50wRh1XsNdICsQXG2tO7WnX5ZpmiNKRpqm/OHTVSh80p+f5lVW T4VzolsJ15Q2yGTDl+I4QH0Gxq73OG38dJTa461MI2Vut1kPnCChgVXoVULobH15+yYT IqHRwes3n1pbjkXsiIdJY8mtQj2v73dlqiuweM8cycx5HwStaFxOncmBO1telmRvZd5v Me9cLKCZaqHLrRrpPkMdSzPU4bWesaoi/Y3Rhl12MPZgovL6l7PdFOQlSZGWQQRdQd8v 4GdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=SiSDOhTXTXfVeWO89V9YX7pyYZnCLF8XH4RNFLmvpLg=; b=pNZnvAakRY03qTipV//F0mm58rD6oPeklEtczeKDVTMDipC2cArS3WUGpGZMKDGSvK kvvADJyEJojDWsYSUrZlKvLDWKILsq2qSnZi2AxnCZSmsaTjKiy+HqoZvRLZQLwug9SN LEraDXBzQxFTe3fKqWdoeCCmYHi63GIyrLT5OgQJ9yc8hj6oS+ksfFx1OtESDEQ2V4w/ Ma8MGyrSn8dER37niuoA2rrOuUA+iT8fz8DM4o5MqVckVRMX71Qw2ji1cOfExYFZH4cP +qso3WR4I1zrzez5Pf3x8aixA6J3NHBA0wIPV5FdpAs9XuyGYbkMC0TkwIcICYt9a8/i iVFA== X-Gm-Message-State: AOAM533nlnfGQdCib8lGB6dnMnSgBcV6lolA/sCD32l0BsVN1vE4CkRW y7HSQG+St5sdz8PySr6rdBV5SiEOIQcYhQ== X-Google-Smtp-Source: ABdhPJwabkgTieNsPesBbZOswjRrORW04fQ5kMp+NhaPhaYbUGfj3Mlw7df+pKq9wsLVm6yOdt6cqQ== X-Received: by 2002:a1c:7c19:: with SMTP id x25mr7580423wmc.145.1608372509108; Sat, 19 Dec 2020 02:08:29 -0800 (PST) Original-Received: from [192.168.0.10] ([78.192.22.137]) by smtp.gmail.com with ESMTPSA id h4sm16700842wrt.65.2020.12.19.02.08.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Dec 2020 02:08:27 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.4) Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=m.gubinelli@gmail.com; helo=mail-wm1-x334.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17087 Archived-At: Hi all, nice piece of code! About these "possible unbounded variable" warnings, I have for GNU = TeXmacs the opposite need: how can I turn them off? :) I was also curious to ask: which are currently the major applications of = GNU Guile (as extension language)? For example, in TeXmacs we have = ~110.000 lines of scheme (still Guile 1.8). I wanted to give a look = around to understand what are good design patterns to use Guile 2+ as = extension language. Best, Massimiliano > On 19. Dec 2020, at 02:46, Aleix Conchillo Flaqu=C3=A9 = wrote: >=20 > On Fri, Dec 18, 2020 at 5:26 PM Christopher Lam > wrote: >>=20 >> Hi guilers, I saw in guix the incredibly useful unbound-variable = exception >> printer written by Ludovic. I've adapted for use in gnucash as >> https://github.com/Gnucash/gnucash/commit/6f951784 -- there are now = in >> guile 3.0.4 many more unbound-var warnings than in 3.0.2 -- wouldn't = it be >> a useful hint to add to the warning in core guile as well? >=20 > Wow, this is great! >=20 > This should definitely be added to guile by default. >=20 > Aleix >=20