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: Sun, 12 Jul 2020 13:46:10 -0400 Message-ID: References: <20200710112109.b2ffa630699452541835924b@gmail.com> <14a24bd8-2664-c7bf-eff8-ca3f4e068ef8@posteo.de> <20200711111359.acacd7d4a6b328bab44ba11e@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="9021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Catonano Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jul 12 19:46:37 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 1jug3h-0002FF-Ak for guile-user@m.gmane-mx.org; Sun, 12 Jul 2020 19:46:37 +0200 Original-Received: from localhost ([::1]:44038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jug3f-0002Vn-WA for guile-user@m.gmane-mx.org; Sun, 12 Jul 2020 13:46:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jug3V-0002Vf-Hi for guile-user@gnu.org; Sun, 12 Jul 2020 13:46:25 -0400 Original-Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:33831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jug3T-0001MI-Cq for guile-user@gnu.org; Sun, 12 Jul 2020 13:46:25 -0400 Original-Received: by mail-qv1-xf2c.google.com with SMTP id t11so4841685qvk.1 for ; Sun, 12 Jul 2020 10:46:22 -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=4HhMe2eEU0W6c6ymygrQ9jphn/6/7migLb4d1qIiQBQ=; b=XEn0eBMKjZaTAt2aiEYAH0EcvjONaqr2/cEtXzODT5It7EczN6Wjm3qYz+FcrSLds8 djrDxBzG7PCTNjgqJ6MJ7LFNVcqvqMPERdyC9LoY+355sJgF7qsBd+ek9Atu2a8CuKPW QdW2FD9XHudD6v7p3NGAG991OGoa7pnnfpwHNm5QW4If2QPyilWR+VSz2eeWAXBhfg1K 0xsshvveDBi6Tp5p9Q5YmRbsUi4BAA7stPelgay5PeOxpTXvmh+4dY85zVUJSviLmroe H+J6UFjP/uD7eRcBaiiB175zGBfRlNG7VRsPsfBuhTA8+WsXOjqYLS1GRCzIAu5dKACw NpgQ== 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=4HhMe2eEU0W6c6ymygrQ9jphn/6/7migLb4d1qIiQBQ=; b=SdNXF6lg1pyMi+7ic9vhYO59WQk0v38VXfb34fQCXPjZGW/aJnJKI3/+DMYSqlxWRV ZWmYzxfNewt0yIJIRz5mf1T1uOYb9qtBPbCLUygijoWBnUGvdj6UIHECK7K+PcBkTo0X 8i2qp/v9Fk3dFGRnnyfx1ajC5I9b2FbNZEqtoWxOhk+oTXIvmDZ7YgbjkSUxVEeekYE1 pvoz1EVQGzSQ3Uj5112WnBhtEmVlMkYA1uEsjS4PZ/01A7yvtaQ4iyaIBSWAXcF15/bi i+laBToJLbBsVJB3GoGZhu+Y5nqXxdFQOWdQ7vgm7rEMz60/scJYD/ztKEOtsCx2ZrDR qXMg== X-Gm-Message-State: AOAM532semxplKT/SmYvZcHKumn6HQ7cgRwI56bB51+ZiP3jC4GHtdxE dKhcOgqx4+4BAVEUeA5EczIUt3PDojbiRrt+s6IPWw== X-Google-Smtp-Source: ABdhPJzL2FSyPouPWIdrOkgFnrbVsiN5Iy45rsGeH6vCjIZqm2zkpGuvXSSb9+xwCg+Eec0XoUlhY6J5OecUn+Rj198= X-Received: by 2002:a05:6214:14e5:: with SMTP id k5mr53966788qvw.125.1594575981929; Sun, 12 Jul 2020 10:46:21 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=cowan@ccil.org; helo=mail-qv1-xf2c.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, URIBL_BLOCKED=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:16672 Archived-At: On Sun, Jul 12, 2020 at 12:09 PM Catonano wrote: How would we continue ? > The simplest approach is just to return from the condition handler with the value 1, and set up `divide` to take whatever `raise-continuable` returns and use it as the new divisor. However, if there are to be several different recovery schemes (for example, change the divisor, signal a non-continuable error from `divide`, tell `divide` to return +nan.0), then restarts are your friend. John Cowan http://vrici.lojban.org/~cowan cowan@ccil.org I could dance with you till the cows come home. On second thought, I'd rather dance with the cows when you come home. --Rufus T. Firefly