From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artyom Poptsov Newsgroups: gmane.lisp.guile.user Subject: Re: Guile 2.0.9, reader: Cannot 'read' an '*unspecified*' value Date: Tue, 03 Nov 2015 22:37:15 +0300 Message-ID: <871tc6yivo.fsf@elephant.savannah> References: <87611jxk33.fsf@elephant.savannah> <87pozr9m7e.fsf@T420.taylan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1446579487 11369 80.91.229.3 (3 Nov 2015 19:38:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 19:38:07 +0000 (UTC) Cc: Guile Users' Mailing List To: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?=22Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer=22?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 03 20:38:00 2015 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 1ZthP6-0004Y7-18 for guile-user@m.gmane.org; Tue, 03 Nov 2015 20:38:00 +0100 Original-Received: from localhost ([::1]:50605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthP5-0006ZK-Cs for guile-user@m.gmane.org; Tue, 03 Nov 2015 14:37:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthOr-0006XC-PT for guile-user@gnu.org; Tue, 03 Nov 2015 14:37:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZthOm-0007g7-MW for guile-user@gnu.org; Tue, 03 Nov 2015 14:37:45 -0500 Original-Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:34511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZthOm-0007fr-FW for guile-user@gnu.org; Tue, 03 Nov 2015 14:37:40 -0500 Original-Received: by lbbwb3 with SMTP id wb3so88409lbb.1 for ; Tue, 03 Nov 2015 11:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=/z6yhI/i3n/SKu8OO3Dkgi9X0NG5FlRKIJVuvghE8qU=; b=mIAJsxOsSvJ5v9AgOhg1Yyt+1DBFpVlHriqp1acq8X7GRdD0RMrfQj+9kiIw8WcHzW XoUq8i57kLf1VtcJjuw5WYZ3tNq3Aw7jxvCBW+3aHmy3xVUdFJw/e3VU6JkISVW/Vfp6 PdtDV1q6e7rEbg7bpda8vSzEkja6vSv119f5HOg5fyIwPJPoSAp3uTmR1JoxQOyOACsU dGPHnt55hbplwCW7dyNTwPUhIPwMgDBCmQzxdPPgwrc5fPL8U0lksXFnpj0fG7JmL+bJ Z0uFzrUNbHJfIFm1bWVTE/NtqC+bx8VTC8sG7ixQcMaxg+0BvK+iZbc4aCXB22++fHd/ 4LpQ== X-Received: by 10.112.146.106 with SMTP id tb10mr7638656lbb.64.1446579459772; Tue, 03 Nov 2015 11:37:39 -0800 (PST) Original-Received: from elephant.savannah (109-184-186-180.dynamic.mts-nn.ru. [109.184.186.180]) by smtp.gmail.com with ESMTPSA id oi5sm5034670lbb.13.2015.11.03.11.37.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Nov 2015 11:37:38 -0800 (PST) In-Reply-To: <87pozr9m7e.fsf@T420.taylan> ("Taylan Ulrich \=\?utf-8\?Q\?\=5C\=22Bay\=C4\=B1rl\=C4\=B1\=2FKammer\=5C\=22\=22's\?\= message of "Tue, 03 Nov 2015 15:44:37 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::233 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:12133 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Taylan, thanks for your comments. I may agree that *unspecified* value should not be used in the Scheme code explicitly, yet 'make-vector' uses it as the default filling for newly created vectors. Given that it's not possible to 'read' them, it adds to the special cases when output of 'write' is not machine readable. It's possible to solve this dilemma by introducing a special case to a user program as well when it cannot 'read' a vector unless the user specified a proper filling. Nevertheless I thought this is a problem and the problem is worth of thinking about; and maybe there's a solution that requires minimal changes to Guile sources. And note that the reader callback relies on *undefined* value anyways. =2D Artyom P.S. I was going to send the patch to guile-devel ML, but by a mistake sent it to guile-users ML. Sorry for that. =2D-=20 Artyom V. Poptsov ; GPG Key: 0898A02F Home page: http://poptsov-artyom.narod.ru/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCgAGBQJWOQzvAAoJEOnFotkImKAvfNEH/jfld10PPIcJ5eSnWEczWHNl uIK8OpruvwVMjUN5M9KcOeFX1hTaY5ERXCGTcGXS2D88iU77iEMGfI31YQ25T0Cq LX2UKJwAmgEJeSwl5KJ21igMXBOybEjn+Zhwt8E2rCk8fCb68WylFmZSvntzS4I5 UjCImo2jBI7yl+vempRObMCXYnXrLtqx2yo9l/xz72FQwQWo7/M3GMc5G1lgah2B WVshsze2USOE2lIVouDlDi73oKgqHSCLlu4xWaBJAsNDIKhwpUxmI3zUley+RPGe gUQtkUSz1DxP2vZRmsUVXAt0Ns5mdKcRR9MKn9sbUcFQ+D1ykei/KlBYZdMBHD4= =wd6e -----END PGP SIGNATURE----- --=-=-=--