From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: pretty-print for 1+ Date: Fri, 13 Sep 2013 00:04:32 +0200 Message-ID: <87li313de7.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1379086968 11127 80.91.229.3 (13 Sep 2013 15:42:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2013 15:42:48 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Sep 13 17:42:50 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKVW6-0005fI-VK for guile-user@m.gmane.org; Fri, 13 Sep 2013 17:42:43 +0200 Original-Received: from localhost ([::1]:48359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKVW6-0005r5-Ie for guile-user@m.gmane.org; Fri, 13 Sep 2013 11:42:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKF0V-0004VK-1a for guile-user@gnu.org; Thu, 12 Sep 2013 18:05:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKF0N-0008Oa-Oy for guile-user@gnu.org; Thu, 12 Sep 2013 18:04:58 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:48530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKF0N-0008OR-Iv for guile-user@gnu.org; Thu, 12 Sep 2013 18:04:51 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VKF0K-0006VW-U2 for guile-user@gnu.org; Fri, 13 Sep 2013 00:04:48 +0200 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Sep 2013 00:04:48 +0200 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Sep 2013 00:04:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Fructidor an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:rtuNeVl++jhX1UmIUo9OSaK0R7U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Fri, 13 Sep 2013 11:42:29 -0400 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10798 Archived-At: Brian Killian skribis: > Using guile 2.0.9 and the ice-9 pretty-print module, when I apply: > > (pretty-print '(1+ 1)) > > I get: > > (#{1+}# 1) > > I was expecting: > > (1+ 1) > > Is this an issue with pretty-print or should I adjust my expectation? I think it’s an issue with ‘write’. Specifically, ‘INITIAL_IDENTIFIER_MASK’ in print.c doesn’t quite match the syntax recognized by ‘read’. Ludo’.