From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Cowan Newsgroups: gmane.lisp.guile.user Subject: Re: "Missing" libraries/concepts found in other languages/ecosystems? Date: Sat, 11 Jul 2020 18:41:34 -0400 Message-ID: References: <20200710112109.b2ffa630699452541835924b@gmail.com> <14a24bd8-2664-c7bf-eff8-ca3f4e068ef8@posteo.de> <20200711111359.acacd7d4a6b328bab44ba11e@gmail.com> <20200711233918.3355c443aaa8d44de772e572@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12085"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-user To: Chris Vine Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jul 12 00:42:00 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 1juOC0-00031P-1n for guile-user@m.gmane-mx.org; Sun, 12 Jul 2020 00:42:00 +0200 Original-Received: from localhost ([::1]:42556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juOBz-0004dk-42 for guile-user@m.gmane-mx.org; Sat, 11 Jul 2020 18:41:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juOBq-0004de-0w for guile-user@gnu.org; Sat, 11 Jul 2020 18:41:50 -0400 Original-Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:44162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juOBn-0001Fr-KO for guile-user@gnu.org; Sat, 11 Jul 2020 18:41:49 -0400 Original-Received: by mail-qt1-x82d.google.com with SMTP id j10so7278737qtq.11 for ; Sat, 11 Jul 2020 15:41:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccil-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=55+aDmu65aMdGUkRSzM933GJ7CLCGVjJPwkyta4tNSg=; b=YBmOhtFO7vr2bhmG/JGuqA6XEfXwJOaY2H/voUh/82cFSjIY0TfrK+DAA1Sr75auUC amJNPyq1aTrrD7/nkSlCOi1WwMCLRQXMKlv/M9ZZRsMnrQ43aKanJlZGKofHX/386qAL 8hfoyz4zflWGMXvr5+oICPxktpl2P5IjI41k26eHNk/o7P0axsJUk5ufbOFjbGRXYM+g kpDdu7FFNTd3tqciLVFMiwK9RND8rCEaLFBfQbIe/EDg8sQ9b13fCAFs48wCApzqR5QG kvEVpkSVlLG+/E6hRGjGdn5YFO2bACaT5+L0jtZkyt+IDdK0TYIMbdTrms7V1eNtS5mR cpxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=55+aDmu65aMdGUkRSzM933GJ7CLCGVjJPwkyta4tNSg=; b=o3dSD7xV57W2yMLTlnRlppJ1fxG1aBHevXYK0WL1lovxFiJ3IIRE1++4dwNGQSVWi4 xNxLGnZuRVXAKPoCirWfgwzW4mOeJzV0fLCkHdnxaL2vCld3aBDVr6T0mq4vjmCwxskv eVH2KpL0IB75rOBAXDFX8stvspUAi3KIO6aYfMShVl5jxXYjUX9lXTGwGHOCpLgv3PKB u+2ZHwUSAHAXQNE/2wTs8Uw/NyRuQyeBsQuGkaOTofW6eG/iizlwIpnWFSr92GS3NqgK 4VUPsiKuVZ7sRvELwYBfW2rGiaboeeaNMFLdvoJRkyGTrfpUjwyV6PJ5Uf3h6Y0GAuda VqvQ== X-Gm-Message-State: AOAM532isa1SKpR8zZZxYoEGFQIXt9XcQu61aqFRFKD73wuLmwCFluxo 7OHXhbdmw96vCHwmu/tb3QOv/UlLa8e2RXMtXh8SeA== X-Google-Smtp-Source: ABdhPJyCmrWWhpNfcN3RBLv0srR4WgAQVBLCW1pWbPnBHID5W/RADDTO/O71brnJNrmKUh/+58Ttm8sYI+ARdqQ+xk4= X-Received: by 2002:ac8:396c:: with SMTP id t41mr77508445qtb.45.1594507306507; Sat, 11 Jul 2020 15:41:46 -0700 (PDT) In-Reply-To: <20200711233918.3355c443aaa8d44de772e572@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=cowan@ccil.org; helo=mail-qt1-x82d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=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-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:16667 Archived-At: Sorry, I meant SIGNAL, not RAISE, in CL. I'm glad Guile supports `guard`. On Sat, Jul 11, 2020 at 6:39 PM Chris Vine wrote: > On Sat, 11 Jul 2020 14:20:22 -0400 > John Cowan wrote: > > On Sat, Jul 11, 2020 at 6:14 AM Chris Vine > wrote: > > > > > (To answer the question in your > > > following email, continuable exceptions are in some sense analogous to > > > common lisp restarts.) > > > > Continuable and non-continuable in Scheme are exactly like CL raise and > > error (and its variants), except that the machinery is different. > Restarts > > are another matter, independent of the condition system (though often > > considered with it). I have a pre-SRFI for them at < > > https://github.com/johnwcowan/r7rs-work/blob/master/RestartsCowan.md>, > > similar to but simpler than the CL restart system, and using first-class > > restarts. It currently lacks restart-case. > > I am not an expert on CL so can you provide me with the hyperspec > reference to CL 'RAISE'? (I know about CL 'ERROR' and 'SIGNAL'.) > > [snip] > > > R6RS/R7RS's guard form is a wrapper for this which also > > > incorporates a cond form to enable different exception types to be > > > handled by different handlers. > > > > > > > Is the intention to provide `guard` in Guile 3.x? > > It's been in guile for as long as I can remember (at least since 2.0). > >