From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.readable-lisp,gmane.lisp.guile.user Subject: Re: wisp literal array syntax for Guile, a good idea? Date: Sun, 12 Nov 2017 23:38:31 +0100 Message-ID: <87k1yvglih.fsf@web.de> References: <87mv3rgrwk.fsf@web.de> <098670CE-873B-4DCC-A111-A88044861BBD@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3026463259899566327==" X-Trace: blaine.gmane.org 1510527014 25049 195.159.176.226 (12 Nov 2017 22:50:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Nov 2017 22:50:14 +0000 (UTC) Cc: guile-user-mXXj517/zsQ@public.gmane.org, readable-discuss To: Matt Wette Original-X-From: readable-discuss-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Sun Nov 12 23:50:08 2017 Return-path: Envelope-to: glr-readable-discuss@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eE14o-00066o-62 for glr-readable-discuss@m.gmane.org; Sun, 12 Nov 2017 23:50:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1eE14u-0003Qf-7n; Sun, 12 Nov 2017 22:50:12 +0000 Original-Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eE14s-0003QY-Dg for readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Sun, 12 Nov 2017 22:50:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6tFZ7LULeTBkOHg99TUROMz89aEXOQd8snnd7pifWnU=; b=jjDjwitT7vha7ScfzeE1rRnscV CuR8iMYN9JtIEp3+hP9AipdoHO3ccFH4pmBlrFJ78giZbMStxyhH0pvyHlBh95UH0M9hGu0vjsVNk uBox2QlMdI5Rtx0kJiHkrB3OFgdNqtdoY6rY8EmEFiplVNK/YgD0rvUSACWHYrLIOURk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To:From: References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6tFZ7LULeTBkOHg99TUROMz89aEXOQd8snnd7pifWnU=; b=Qya2a3dELKIu5cL5KhjPWnxcGh 9iPAyaYgLI5oIof/j/b8Q6Auq+f3PE3MYSzaKSReR0gDdZI54oXCQE/c0uNBQzjmWWJKivIRJSfXE kGTa9XHoKnyGlGD64Yw1ENfQpvQP0+w5iOty+ZO3uZ1xWinb+fjIOdQebkY0y1jLsV9o=; Original-Received: from mout.web.de ([212.227.15.4]) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) id 1eE14r-00057r-5v for readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Sun, 12 Nov 2017 22:50:10 +0000 Original-Received: from fluss ([85.212.119.94]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Maazp-1eTdDN3APh-00K9ue; Sun, 12 Nov 2017 23:50:00 +0100 In-reply-to: <098670CE-873B-4DCC-A111-A88044861BBD-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Provags-ID: V03:K0:Jr0AT9iYoalpiZE1g79YmcUT/vZHrrojaBDZUoUljZ+vitD+BLr t6UANsPbe+mxhEDkdoHKntSSng5K+iTKj/+w1fU4yXfRT/Rg9JXj5ez86fOnQu0RpX76A5b dDa0fRX+h2AAz0h4U8T7FvoNxURXu52qIztVFnhxFTPe6HnFaONUGG/X9bl/c5sKTayCRro +i5At3R/Ws5OmhUNKgYrA== X-UI-Out-Filterresults: notjunk:1;V01:K0:33wSYKG8y3E=:Oqxypd3D8+Y5ZyUBJif0tL 7NZnqJE+WwcSbCXEi8dGv3g/lfQZP5frTlnZFRYouKKJv+otau9L8tR92FNPIK8Dmn36RHR3F cCa4ndr1gwaE9+yvxmiVeBA4hUZ+XjGaIXVE3yC2Oh2Yw7rSzM3fGabGDDY1N9Q0ZBIu1Mrys 5EOaqZSDAAU8NPDK2gxRqtLGM74KKuzlKFS8j91ZLNuAD9tTOW1CqPABYoA1b4ZkYX+zVBaC8 dS9wOI0QqWPiWnSJTEq34QQXcE9BQgn2DyphnRsQV+ks6M6C1XB0aukdy1RSoEoh7Afx9QzwB OiGKjwNLM8ypm3WGRVMLaO1vq2q2AcKzbH7PIV3POd+RJES368VRYPsVQzK2u29LKh0q0ZnmY WvGnywMMi8zLvMvFzY/xZomMLnflPD0G2EpaOVyMrp6gkFGy5J60MypjfZKYR4NhvNAHq4RXG xiKzja1SnslCogQcrZ+THtADTr4Mr+I/V2IIPsopfi4bNhufbCGpmmTArPURw6LUll+/H4o8C bjVFVrqgs2AwHdmWYcscXSatBJMbJGXC5y5NzW10Do5tGo39UNvU36eE0Lcrh/epJ5A2nukkw OUCTWMJW/s9Clo8Gz69gNZpz7lAF+ADg80c8Yx5KhIqqB69qtjMANHKLHrYmp8J09wGoD5iOA A7ZQxMiu53L21wiBmhTRseRjH7Btd7KN5vrU6ChN2/QqJ+bv9GEErIxek5Xg03y3OO4w8g+yC y8VmlWnL+/wyLwh2samnrTRfnK/L8zYPeI0nEDzMDZgm+AtmWXWLqkeEqSPqtIuLKKHpEqt7 X-Headers-End: 1eE14r-00057r-5v X-BeenThere: readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discuss how to make s-expressions more readable List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: readable-discuss-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Xref: news.gmane.org gmane.lisp.readable-lisp:1551 gmane.lisp.guile.user:14252 Archived-At: --===============3026463259899566327== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Matt Wette writes: > Do you have a syntax for vector literals? If not, why can't you just wri= te I don=E2=80=99t, but while (vector '(a b)) =E2=87=92 #((a b)) (define (f) (vector '(a b)) #f) (procedure-properties f) =E2=87=92 ((name . f)) But (define (f) #((a b)) #f) (procedure-properties f) =E2=87=92 ((name . f) (a b)) So this is a purely Guile-specific issue: I want Guile to recognize the vector as function-property. If it recognized (vector ...), I could use the simple syntax define : hello who . "Say hello to WHO" vector ' tests test-equal "Hello World!\n" hello "World" format #f "Hello ~a!\n" . who (this would be my preferred approach, but I did not find any way to get this working) Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAloI0BcACgkQE++NRSQD w+s6WRAAuKMQ7LYnOO30M60figApMgvdmf0Whh8E8xUqaOgfLytmosUqjxne5C5y SFfL+Pxcb1HcNL4iN00bDg0n0rk8AX7fG1fHlANQjcfQmz8BiHEF/qPLtI8IE0M1 rNKEXCnyXKxKvkRoTYWM+GALbFCbHo9dkjtOh8FAtK6thVB5GIvTFnubajBx7xIo KsMPJ6JMmmCPLX/C6tBfBtN+ebVi2y6TyM6+3AMAcqDNspIBMpng7h+npwx7LEOX PGAcpQHKywABJy4xXemW0g+XPw3xGaOwtmDxKV2O7QcfikVdHyj8Sb6jT9/Ghdpz Oqp0wgVmPPCiNNbI+UqiWIJhn8i7pqvECWb70rzN9/SVolnMx84iZr3dPmI72YRz 3upq7E+sEV/rnS61t/u58QRL5ftMd68wmB544t5Zis/0lo21I2RMiLOFd2wbicVl 9KOz6XbYWIxRnaZs/g9JfQ0O1DVFC3t+gOznuI/uxBt7yIlxp+5HxgeVBnZxGa8V QhGyE8K+LoO9iyW8uwsh1E7lkjC5YLhwS+M3AjNAEKeBCR+YIeUdjT7je+Lr1/Tw jP7BdEZLTqRYCMEidWsoI+hgsWT9xnEZ7UYWp64FVpZ8rnimiJu2P4NoZ7SpL1L7 R3Ltn6l0igLCtO1oAcz5WiWtFqLswSdVvLvOOIoR3g1sCjngsDU= =K0jd -----END PGP SIGNATURE----- --=-=-=-- --===============3026463259899566327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============3026463259899566327== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Readable-discuss mailing list Readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/readable-discuss --===============3026463259899566327==--