From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chris Vine Newsgroups: gmane.lisp.guile.user Subject: Re: "Missing" libraries/concepts found in other languages/ecosystems? Date: Sun, 12 Jul 2020 20:32:55 +0100 Message-ID: <20200712203255.18174e62dc69bc71f722c213@gmail.com> References: <20200710112109.b2ffa630699452541835924b@gmail.com> <14a24bd8-2664-c7bf-eff8-ca3f4e068ef8@posteo.de> <20200711111359.acacd7d4a6b328bab44ba11e@gmail.com> <20200712201423.191a4d33c25306bfb5506f77@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34229"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jul 12 21:33:11 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 1juhip-0008nq-MC for guile-user@m.gmane-mx.org; Sun, 12 Jul 2020 21:33:11 +0200 Original-Received: from localhost ([::1]:56916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1juhio-0001SN-Nx for guile-user@m.gmane-mx.org; Sun, 12 Jul 2020 15:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1juhie-0001Rf-Gv for guile-user@gnu.org; Sun, 12 Jul 2020 15:33:00 -0400 Original-Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:33073) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1juhic-0006sg-Vd for guile-user@gnu.org; Sun, 12 Jul 2020 15:33:00 -0400 Original-Received: by mail-wr1-x42f.google.com with SMTP id f18so11639005wrs.0 for ; Sun, 12 Jul 2020 12:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=VVxBQircaYgGpJAlfrec5lEfQqnk0j8M5SsFDSwSBAQ=; b=M0HnlA0JSuM3oMIolAE6BiGFSPg5tMth/jlGFmp3RK9IDNMqpGnMVdQNWIwTYSvqm+ xPSLQDZUD6wMB3pOqKf19iBQHzOiElClDcai7410ODbxqlCaQC/z2pxhiOAHIYqoxOHq AY8TzCMaDrhh+btqmkHSl2bNSuUFQ8vY505juKiqr/bbppHeVv5y6hfupWHE1Dh/c20j bl6HhwKTJXjM14iUDBhBVQgcF+40+Q0Mkx7o3e/eTqjEbZ06XvM0Q2k8LRg89Nm6CsjD QGs8wCSy9sqok2lEoTV22isGSV3iwyUT43VeAZivCpLjnpnKmqVoE5TMqHRJyWLnwewS nvUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VVxBQircaYgGpJAlfrec5lEfQqnk0j8M5SsFDSwSBAQ=; b=ts6+OPC5LV9X/8BO0bQir/6cMsb/QekxUN9mTzx+I3LtM99WlWSlBqDBdjy+seGpAl WkBpB7/rw1AfqRdBxRO9g551uFnlHgdnVDCxjFuNEG9LXcFx2/JSt8mfNo6nGFEoRNp6 E1qB1PHJNG+SW7X1GHptBtjJHl1BJyxzGbd4DBa5+vBb6pgEqxV2CcDaBGGtKVQXdVqV +aYalzXVlYuL+WbtxrYIsEvQhkVIhxo3tSpQbTyn9mNVBWGPPj6f1hWpn/vNpmq5w9m6 8+L/SJwVwuLQM47LRwl+KbIMtrSXvmgx+h58lLZWDzsMgStMZdkzZjiSd4nCM56yhc3Z TwTQ== X-Gm-Message-State: AOAM5308s5k5Sfl/r4MsHIDJSqbMfKwSfsnhIQGaTonLCab4PheAyBMc +HUb/D+MDwW0w3ike/OZlB6ON0Hd X-Google-Smtp-Source: ABdhPJyootJo8u3/0wWaJkrgRfAOLqDk2+7V0EjbRbmLy/PwqFWeoEXwYmFDVBE8KPf69UG8KtDAjg== X-Received: by 2002:adf:f18c:: with SMTP id h12mr73653554wro.375.1594582377176; Sun, 12 Jul 2020 12:32:57 -0700 (PDT) Original-Received: from bother.homenet ([2.24.141.94]) by smtp.gmail.com with ESMTPSA id j16sm20618742wrt.7.2020.07.12.12.32.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2020 12:32:56 -0700 (PDT) Original-Received: from bother.homenet (localhost [127.0.0.1]) by bother.homenet (Postfix) with SMTP id BEF8D263BA0 for ; Sun, 12 Jul 2020 20:32:55 +0100 (BST) In-Reply-To: <20200712201423.191a4d33c25306bfb5506f77@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=vine35792468@gmail.com; helo=mail-wr1-x42f.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: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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:16674 Archived-At: 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))))