From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Linus_Bj=C3=B6rnstam?= Newsgroups: gmane.lisp.guile.user Subject: Srfi-159/166 - monadic formatting for guile Date: Sun, 02 Jun 2019 15:38:50 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="9369"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Cyrus-JMAP/3.1.6-555-g49357e1-fmstable-20190528v2 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jun 02 15:38:52 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXQhG-0002Eg-V1 for guile-user@m.gmane.org; Sun, 02 Jun 2019 15:38:51 +0200 Original-Received: from localhost ([127.0.0.1]:49272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXQhF-0002PF-Kx for guile-user@m.gmane.org; Sun, 02 Jun 2019 09:38:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXQgx-0002P8-LO for guile-user@gnu.org; Sun, 02 Jun 2019 09:38:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXQgw-0000in-Jo for guile-user@gnu.org; Sun, 02 Jun 2019 09:38:31 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:46309) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXQgw-0000hO-7n for guile-user@gnu.org; Sun, 02 Jun 2019 09:38:30 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 6BC7FA5B for ; Sun, 2 Jun 2019 09:38:27 -0400 (EDT) Original-Received: from imap1 ([10.202.2.51]) by compute1.internal (MEProxy); Sun, 02 Jun 2019 09:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.se; h= mime-version:message-id:date:from:to:subject:content-type :content-transfer-encoding; s=fm3; bh=fzFeK8a1nnWw2f8AOsjxrNntiF jMjzMDCklAE0lh3CE=; b=KrFbn0ZTWLM6sqTsGyNutEXuLzS9JmgAAZ1QRuWyW+ 1Ypb1mEJprNUmxsHfTOqZlQyVaGs1OeKySdX8oC5ou66TucNAf8uQgK1qu8fStB9 jR0aiXJdm0Su3Scfr+3kpjRo0pRh7q658xFt49huH43FXLm+/RHVaz8Z6I5CzmNV MiTmvGMY29jOtTwtoo18IKG7EEaBlaoyT2GJyb7RrJmbiLZqeohcYK+HFB8YyvFF QiliVNJVP+oArCl4+SySmp3dp7X9hpIiI7Cylr7ldJyChyiUR3I+zEFSh+4JP1OK Xw/YMy1QiB+vlw3SLrAIh1M9GqakoV83GuaKnuLwehqQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=fzFeK8 a1nnWw2f8AOsjxrNntiFjMjzMDCklAE0lh3CE=; b=0e/DjZdIJQIedOFbX/2SDR PylgyAlnzuWrQytLMpJ7o2hQp+afTr4yfaAUpm8/Zu2jjCGWP8UPvCTDLMc2XIJd PJaEWsdY8yhjfA7VPKHoJdP+PGwb4vdpiczj79ynuUZcINUo+Coi9HOPNS4V6x9K RsLAtFBppVPE2l5Je828JIrH5xadk+0WMjLYVeCEeu8edi92UuYxerl+Jjjxt4Lx j1hnBQx0fPdxP9jOCNJl81+kEyotL4+iC25NEckntW+wPCZ18I/Xgp6Atx45SIWN FJrRk/czZCDsZLGAGSFQyntOqN9/URyDME5lbOqhTQgYhCE6i3qN9d3cupDxuNcw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudefhedgieejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomhepnfhinhhushgpuehjnphrnhhsthgrmhcuoehlihhnuhhsrdhi nhhtvghrnhgvthesfhgrshhtmhgrihhlrdhsvgeqnecuffhomhgrihhnpegsihhtsghutg hkvghtrdhorhhgpdhstghhvghmvghrshdrohhrghenucfrrghrrghmpehmrghilhhfrhho mheplhhinhhushdrihhnthgvrhhnvghtsehfrghsthhmrghilhdrshgvnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id AEFCBC200A3; Sun, 2 Jun 2019 09:38:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.147.123.20 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15513 Archived-At: Hi there! I just ported the reference implementation of SRFI-159/166 (166 being th= e successor of 159) from the reference implementation in chibi scheme. T= he srfi document is here: https://srfi.schemers.org/srfi-166/srfi-166.ht= ml SRFI-166 is like (ice-9 format) on steroids, drenched in molasses. It ca= n do a lot more than (ice-9 format), but about 3x slower. I haven't star= ted trying to make it fast just yet, but there are some low hanging frui= t (like speeding up simple cases). I will wait with optimization until t= he srfi is finalized (and also maybe hear with Alex what he has in mind = before trying to half-ass it myself).=20 Anyway, the repo is here: https://bitbucket.org/bjoli/guile-srfi-159 . I= haven't ported the tests, but playing with it in guile and chibi scheme= produces the same result. Tests are up, but I'm travelling without comp= uter the next week, so there is no time. --=20 Linus Bj=C3=B6rnstam