From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Catonano Newsgroups: gmane.lisp.guile.user Subject: Re: "Missing" libraries/concepts found in other languages/ecosystems? Date: Tue, 14 Jul 2020 12:32:46 +0200 Message-ID: References: <20200710112109.b2ffa630699452541835924b@gmail.com> <14a24bd8-2664-c7bf-eff8-ca3f4e068ef8@posteo.de> <20200711111359.acacd7d4a6b328bab44ba11e@gmail.com> <20200712201423.191a4d33c25306bfb5506f77@gmail.com> <20200712203255.18174e62dc69bc71f722c213@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="12371"; 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 Tue Jul 14 12:33:14 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 1jvIFO-00036O-72 for guile-user@m.gmane-mx.org; Tue, 14 Jul 2020 12:33:14 +0200 Original-Received: from localhost ([::1]:56966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvIFN-0005Y1-9B for guile-user@m.gmane-mx.org; Tue, 14 Jul 2020 06:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvIFB-0005WI-SI for guile-user@gnu.org; Tue, 14 Jul 2020 06:33:01 -0400 Original-Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]:42525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvIFA-0001LH-9C for guile-user@gnu.org; Tue, 14 Jul 2020 06:33:01 -0400 Original-Received: by mail-io1-xd30.google.com with SMTP id c16so16719768ioi.9 for ; Tue, 14 Jul 2020 03:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MivA6fMZEqQ/e80aFU8n0wG2dRZJS3gPwtrtn+ZTAiA=; b=jmeC2UG/WdFYLwXAKsnin1vrFnGUH4J+5EB22GAzQfW/eJnO2oUax3+spAOTbD+l53 sCwuTu9KvN22hB4RJ/x2RaARHSunf99CcdCWa5qkcjdksLCIoK+CyaFLpJEKb+IQhjJ3 dZJdmPckH5fx0chkHKQoRS7GSmvfRJ1BBTJurrd3/2nD2WW2578jM7Lby6j9HaRuQLjz CGx+K1O3Zhgn/m8fQ7zE4pgDhTIMqH5QU4tad7/EnWU9272IeP16n/SqDa2VmGgJzG5U Em4NnFiID6cZday722RP+WbY6NfzT2YrCYdXAtPXCAwkC89/zpb1f6QV7L6vVMtsy4o9 Oy0A== 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=MivA6fMZEqQ/e80aFU8n0wG2dRZJS3gPwtrtn+ZTAiA=; b=TK1Qs+nXO25E8hv0b/emh1HcmzJKPoXgH2fTgjA9frIDJg0yaiVFAeLeR68gNkoIAQ QNfP9smeygPo2Sk/e5CgJ8CfDGuDj08RvQ49A6nlbV3ZlGZCgO5vBTOFJ71f+nnMblFZ jUDMmXr6Pncb4f6PI6Vog4wJoi2vCgxxrhWw+/Zx7yI2U/zU6FE48OeU1Hv62UZql9YS HY7+h0tSErnUlHVHS2VLgK/IAa9rLI59d1LAL8fyH/cUHjnYqaU7z3yy9htLu9Q/PMXX 20H2mmdlUVUVRnAxBrPzEsYAz5xgLNF8O6YSnCTpU8jE30rjFfZl3S1HPBkRYUOG4rbz 9LMA== X-Gm-Message-State: AOAM5311e0DBAVWD1aEWUzNCY09ydTwRoGajoL5+PAT8iA8KiP9dlcJX UedUt4PWMVUe8fhs7gp59u82sykC+mYZ3Y2GLQ== X-Google-Smtp-Source: ABdhPJwSMV98SfQyFZijDqwBPuY3I74qPJfLQuRkaP6v0bVR1cpXe/pVi8s5qJ7GWy6zd4xGe10vOAx1DICWtcwF7io= X-Received: by 2002:a02:b0d5:: with SMTP id w21mr5290100jah.27.1594722778796; Tue, 14 Jul 2020 03:32:58 -0700 (PDT) In-Reply-To: <20200712203255.18174e62dc69bc71f722c213@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=catonano@gmail.com; helo=mail-io1-xd30.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: -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, 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:16683 Archived-At: Il giorno dom 12 lug 2020 alle ore 21:33 Chris Vine ha scritto: > On Sun, 12 Jul 2020 20:14:23 +0100 > Chris Vine wrote: > [snip] > > Secondly, if the handler returns and #:unwind? is set to #f then > > raise-continuable will return with the value returned by the handler. > > So this: > > > > (with-exception-handler > > (lambda (x) (+ x 3)) > > (lambda () (+ (raise-continuable 10) 6))) > > Ah I see you are using (ice-9 exceptions). Better be consistent with this: > > (with-exception-handler > (lambda (x) (+ x 3)) > (lambda () (+ (raise-exception 10 #:continuable? #t) 6)))) > > I find this a little bit confusing, admittedly so is it #:unwind #f on with-exception-handler and #:continuable #t on raise exception ? Anyway, I'll try to write a new version as soon as I can bring myself to do it Thanks, for now