From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Walter Lewis Newsgroups: gmane.lisp.guile.user Subject: Re: Extensible effects in Guile Date: Mon, 08 Mar 2021 10:42:20 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40467"; 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 Mon Mar 08 16:44:05 2021 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 1lJI3B-000ARB-MD for guile-user@m.gmane-mx.org; Mon, 08 Mar 2021 16:44:05 +0100 Original-Received: from localhost ([::1]:41012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJI3A-0000B1-Ni for guile-user@m.gmane-mx.org; Mon, 08 Mar 2021 10:44:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJI1m-0007Si-Uf for guile-user@gnu.org; Mon, 08 Mar 2021 10:42:38 -0500 Original-Received: from mout-p-102.mailbox.org ([80.241.56.152]:48410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lJI1k-0000Ai-9m for guile-user@gnu.org; Mon, 08 Mar 2021 10:42:38 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4DvMzV6kNBzQjlm for ; Mon, 8 Mar 2021 16:42:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received; s= mail20150812; t=1615218143; bh=OzO8u0iafipzUpYWvwGtFAyISxjBBu2bb Z3W475wgLk=; b=rkPLzDIAGmPq4OyXtOTrRHYEtJICPjgN/4mWxkz7ihA1F5r42 lWJ18gtnufFyF9m8w+pQMQdxda+muxdEXcpK6aAfZQI0xnHHdRQGzz2TllYDpDkI B+P1A2kmNm6hCABmNlro4MF+4nmuGm6j4cuhWKdUEWuMMhWFxwm3WJjcs06aBfIX Cyvu1uHVyy0Wos7J+zU8x2q6MZl5C/5XLleuCubC75uYLFD8FFfkJhiBSmQhi+fC HNLkThpYfC+wbQpxgb9ItbovKTfzMtahLBGqX5LqfWBwaaG0kECEvqmMg/lebtOv DL5Yb49WI0492WGIUmxSjapWzcqQ64GiCOuug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1615218148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xk500Isx4cZa7dLvyFiD+5gp9eoA6PUiq9CacpRdBj8=; b=vauoIIsKU8BGY7UVlLrClqjBynrsSFBg1gzejuLnMJ08IyU0CrTVqzQQyvzj5osMONYkFc Muqyq8aCqOsBnXxdbc0lEAuTd56bBuFaop7BUMQsvIgr9MUXPoZCYB3n3nPSfRFByzZwYY zS5vmpcYRsW74TMXZeAEODZT118+ZJOdePtRwEp9OXwcl7ygEykaF6M/SE/npTjyTNSono Y0m7JOWYoeTVU1Hx0uncukIwq/JwyAzhUjhMOHXK1DoD5vLxfS1BrO+NE6ai9oKBUnFY78 zaTTt7F5VYg9y7G1YXlUBwqgFN/oYifgCZA1xPYbPBNS9snXGD/GOP/k0wB9Vw== X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id 3LoOymSHsxPR for ; Mon, 8 Mar 2021 16:42:23 +0100 (CET) In-reply-to: X-Rspamd-Score: -7.83 / 15.00 / 15.00 X-Rspamd-Queue-Id: A57E017EA X-Rspamd-UID: 5f3ca5 Received-SPF: pass client-ip=80.241.56.152; envelope-from=wklew@mailbox.org; helo=mout-p-102.mailbox.org X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:17351 Archived-At: Walter Lewis writes: > Attached is a literate org-mode file which implements an > "extensible > effects" system in Guile. Extensible effects was first > implemented in > Haskell by Oleg Kiselyov and others[1], and as far as I know has > not > been attempted in Scheme. It defines a metalanguage for writing > programs which describe side-effects, and handlers which > interpret > them. > > I'd hoped to publish it as a blog post, but technical issues got > in > the way and I didn't want to delay any longer. I will update > the list > when the post is live; for now this file lives at > https://git.sr.ht/~wklew/genshou > > I hope some folks find it interesting! > > Walter > > [1] okmij.org/ftp/Haskell/extensible/ After some sober editing and resolution of tech issues, I published the blog post: https://wklew.srht.site/posts/genshou/ The literate org-mode file is still available at: https://git.sr.ht/~wklew/genshou The original file sent to the list has quite a few mistakes which I corrected. Walter