From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.guile.user Subject: Re: Python-style doctests in Guile (implemented, please comment) Date: Sat, 14 Oct 2017 15:05:03 +0200 Message-ID: <87y3odj2cy.fsf@web.de> References: <87379d7m66.fsf@web.de> <87ini8zs4w.fsf@netris.org> <871sowmri4.fsf@web.de> <5980FAF1.8080806@sapo.pt> <871smaq2l0.fsf@web.de> <59DD4C68.3020501@sapo.pt> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1507987054 9549 195.159.176.226 (14 Oct 2017 13:17:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 13:17:34 +0000 (UTC) Cc: guile-user@gnu.org To: =?utf-8?Q?V=C3=ADtor?= De =?utf-8?Q?Ara=C3=BAjo?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Oct 14 15:17:31 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3MJl-0001oO-Pr for guile-user@m.gmane.org; Sat, 14 Oct 2017 15:17:29 +0200 Original-Received: from localhost ([::1]:54046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3MJt-00011d-7F for guile-user@m.gmane.org; Sat, 14 Oct 2017 09:17:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3MJU-00011N-64 for guile-user@gnu.org; Sat, 14 Oct 2017 09:17:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3MJP-0008F1-7x for guile-user@gnu.org; Sat, 14 Oct 2017 09:17:12 -0400 Original-Received: from mout.web.de ([212.227.15.14]:49960) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3MJO-0008Ef-Tw for guile-user@gnu.org; Sat, 14 Oct 2017 09:17:07 -0400 Original-Received: from fluss ([85.212.2.174]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MgIMg-1dqmyX3TKY-00NeM4; Sat, 14 Oct 2017 15:17:04 +0200 In-reply-to: <59DD4C68.3020501@sapo.pt> X-Provags-ID: V03:K0:qjGZgPubTYT1qRPIAOgt9KahHEQir9ND7jU+krcSQkLceuy08kA yAIikD/pBE/+0Vg21mTrf3qeA5bfG9ggh3hOEEZxgYUUkhHLdedTsRvSLyM/XtfteCi2zYG w40WopFvxg8N9UDZPUQXnR4DprgOFW/m3877kv4LzMirlpX6/n2r4by47t7RrdVarGsPvL/ KQRt2I2JvDj87ZuXdyNPA== X-UI-Out-Filterresults: notjunk:1;V01:K0:R/AgBECJDaU=:mRPc3/B9i/PJnqX8OIgfx7 Aw6qjF1IVfjVZJdwdEx6Zft7REIEfvnta0P8+fbluFBi8BMv9Yc8obE0yCpeol8Hh5BFyBEEa WZnC+vw9aWYIE2cLskxRID0tdDqV8Dm4a1yh/x3pRmK+j9MNtx9ndLwcJ8JN+GqTLl61H2jjA 2l8lqQYiUTzCr9C8kUoehmgBMPedt0VJzfTfrug0iGLUWGBMXM0157LtXIcE+MtSlK6CsuZIK 49GwjP2dPsiCbMhL+cAuyPRyfg6iQMuhBWfZkf709U99NCX+x1ZavX54i4v9YcwEyN71up7VA yzYrCHZxg+3zWGIT2cyTe5rYpvLbY95t4nh/hcl2EnDGoNBSNPD7Zv2p4V9dteyrTyH8gs6yj Hlj8N0/E4vw351shpM4CKi+ZhQDNGE3ysrvlc02q24l7fppfGDzz9P6igkNnMkiEKkdW6QRdX ipYQgG+IxxHzak8skwmTxdFuoCFdupKBjxnkr1J/hSqYMOu+geCYR+w65R8mWZmxLrxBOD9LP 969Ufl5KX+axTcNNQRRXImgU39waRv66qR3P69oK2nVQpvxzQIAFzQ58UICNtgIYQkYwedI3o N7iuBy0ucfkAoChKVWEXXB2gN3joxudcviwgewB9Y3PtCoNEg1lwj49xI3QlR913/4tgdU4p7 XlKcs8g2HBvpRoAlUDHKf1hCgqxzIVlXh+embzlRma0dryGkwNd9LK+G2UeR7/SvY0GhPp21f o8dySoS9OSj4RgI57zNi1H/g/yFayjOLo03XLReP+JMW7zvsVDKxkWcQeP46kEmIubQK8hqz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.14 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:14214 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable V=C3=ADtor De Ara=C3=BAjo writes: > On 10/10/2017 15:21, Arne Babenhauserheide wrote: >> I=E2=80=99m sorry for answering so late; your suggestion stuck to my min= d as a >> clean and schemish solution for my usecase (thank you!) but it took me >> quite a while to realize it. > > I'm glad you liked it. :) I do, very much so. It=E2=80=99s another case of Guile already providing something I know from Python, but much cleaner =E2=80=94 and (on the downsi= de) with less infrastructure built on top of it. > [snip] >> Now there=E2=80=99s one first question: How should I call it? :-) >>=20 >> Currently the modules is (examples doctests). Do you have a better idea >> than "doctests"? > > Maybe "proptests", since they are stored in the function properties > rather than inside the docstring? Or maybe "vectests", since they are > written inside a vector? (Of these I think "proptest" sounds better, > because it sounds more like "doctest".) Or maybe just go along with > "doctests". Hm, yes, though proptest seems hard to pronounce. Since the string is called documentation string, the test could really just stick to being called documentation test (doctest). Thanks again! 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+sFAlniDk4ACgkQE++NRSQD w+vgjw/8C/rIpmQHy6LJxk0P8sGaFhJfkNB60oP9axGMy/hTrksYPiVYhzsRH7p/ mft40Njt1SGfYTuv5iJEokW817odgMPf2bDUJTKVg3GSKMLVIHf0YDGVj3Nky6yF T+VSl9FXkU0kQymb/Ijm5s13n1ORNUYHN/j8AOKowRFG3B4R8AAi9tqeTParAH4g lB26pssMuRpSOSD+IlZu1Q0rDSL/cCoiqDOYYcDtKPLt14C4MD8bP9ioiQKR68lq AUzZc+tHCrGD0Rse9I4ZGDTBSjhN9IWMYMAfdmdg0aLfLbhRG5rBzQc3+cwQlsdd LoIAFQohd2sZApDdqKnK8e/s/weFNqTW8Qe7LLuZPoFIqMv9Uz/+TUxjpcg4IkYk zHbWjAp+5FBH5vEQ9xii/Q/6ZlASb+4jInML14chcp0Fhh+7tpBOGmqTnIrtfSKK hM8h9FP3ZZA6C2q+vnnZB3QgDX/ufMguPzpgxYm5POUBqfPMGs438E+osBwN1WPj XE6vN44AlQoxHz3MgCqsRsynMLHPVjOA/FPFyagYdep10HJIJcC2dUwuHqRxF9xi Bip8XKGbuE6M6CeKM+FKeLySN0jRGRSZj1FGa3h7gN1KnakJGo7uWp6hKSyrMeff M0gyWXvmPNZfTKqriSEYAN098hSuGto0Zj4TmS6hpDyH3HMzqdU= =Wj/z -----END PGP SIGNATURE----- --=-=-=--