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 13:06:36 +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" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30929"; 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 13:07:03 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 1jvIm6-0007vP-V7 for guile-user@m.gmane-mx.org; Tue, 14 Jul 2020 13:07:02 +0200 Original-Received: from localhost ([::1]:53552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvIm6-0001A9-1d for guile-user@m.gmane-mx.org; Tue, 14 Jul 2020 07:07:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvIlv-00019j-UN for guile-user@gnu.org; Tue, 14 Jul 2020 07:06:52 -0400 Original-Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]:33336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvIlu-0005jo-Cx for guile-user@gnu.org; Tue, 14 Jul 2020 07:06:51 -0400 Original-Received: by mail-io1-xd36.google.com with SMTP id d18so16838462ion.0 for ; Tue, 14 Jul 2020 04:06:50 -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=Ula/vx6flXH2dL3LDt37peAQcSZjydiDFwgiaC2mClY=; b=QJs6oRCmTfKMzgWJEh0NbucgLoAYQuYOzFyqMRMAY+bwYfmm/+5yBViV7+LG4nHvf/ 8Yzu84xY/9HDOCR6bFjx7lc9UKBqvalF6llOPPncsFYeT/wgtT8zVj+xEJ8+rQoT3XF8 LRITTR6COZo0P4YSQSz1rMYEY6vcMzcPFs5eW/HLMcDF514KQ5/XHzvpwBcFGKB7SZ1y N8utt9YNKyGJldX415Ny7Hp3CSTUERv6ybM9xG1j8jLcsC7KQ+8hVFVIou3OQvHn12Jb NBy0akwCayGqWPyHg9DWIrxX9oIvhdlqelFHZcHFhzmoPwAJIV/BIVWj2V+n9vevR5zu MPcQ== 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=Ula/vx6flXH2dL3LDt37peAQcSZjydiDFwgiaC2mClY=; b=rKcBukAx/e/ODT6EgoZZ7hXxzSnRDDPEE6IVX9i5vNXSnRI5mrbMF3oOJzd6UEJr93 1cGB9v1Ayx4XwXV2tH1wzCs5IAgeaw35T8I8ycjhWZuyvKyp0BgQQoXwrtfLnN0U9OZQ /9tqFuFF9+5FxGmveEKfNkJIX0QfQnrwOti7Tivz122pi855bEs2/+a93ejDb6A8LsOk AXFCP2eQP0eRi2AR6MlOaL4/8vVfOz9N8PaL6ZF1CwWlAbSkeum39E94IfJrTB/B5KwA 3HyLiQ29Jt+b6Nynqb6Fi09lS1k7M57AYMeXlENqww66g/yiwmsq80v0Wnwu90duHVlS eO1Q== X-Gm-Message-State: AOAM531mU1OVFw9HHHI48L+1ppszMO3gftWX+KxmAp7fWx325Xm1g3Ra EHLTnbi7CNcJVmDjjiIVWGX6HxjsUg+Iuiw2kg== X-Google-Smtp-Source: ABdhPJzW8Vxq7Z/7wCeud/UHA9MylT08nmXQ+Ih5Q6nZaaMEEwP5mZN7x6cuxmkdkSg5Mkecnal8KRgAOnXVaXh/xjA= X-Received: by 2002:a6b:c343:: with SMTP id t64mr4538393iof.66.1594724809185; Tue, 14 Jul 2020 04:06:49 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d36; envelope-from=catonano@gmail.com; helo=mail-io1-xd36.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:16684 Archived-At: Il giorno mar 14 lug 2020 alle ore 12:32 Catonano ha scritto: > > > Il giorno dom 12 lug 2020 alle ore 21:33 Chris Vine < > vine35792468@gmail.com> 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 > > Obviously, should anyone want to step in and provide this example themselves, I'd be only grateful =C2=AF\_(=E3=83=84)_/=C2=AF