Re: Adding the doctests module to guile-lib or guile?

"Dr. Arne Babenhauserheide" <[email protected]>
Newsgroups gmane.lisp.guile.devel
Message-ID <[email protected]>
Hi,

did this question drown in other messages? Should this go

- to guile-lib
- to guile
- elsewhere?

My preference would be guile, because then it would be available for
everyone learning Guile Scheme and I could more easily use it in
tutorials

Best wishes,
Arne.

"Dr. Arne Babenhauserheide" <[email protected]> writes:

> Hi,
>
> I’ve been using my doctests implementation for years now, and it works
> beautifully for me, so I would like to contribute it — either to
> guile-lib as (tests doctest) or to guile (maybe (ice-9 doctest)?).
>
> Working code is here:
> https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests.scm?rev=tip
>
>
> Example usage:
> ;; https://hg.sr.ht/~arnebab/wisp/browse/examples/doctests-test.scm?rev=tip
> (define-module (examples doctests-test))
>
> (import (examples doctests))
>
> (define (foo)
>     #((tests
>       ('foo
>         (test-equal "bar" (foo)))))
>     "bar")
>
> (define %this-module (current-module))
> (define (main args)
>        " Testing doctests"
>        #((tests ('mytest
>               (test-assert #t)
>               (test-assert #f))))
>        (doctests-testmod %this-module))
>
>
> How should I go forward to contribute it (and should I)?
>
>
> Best wishes,
> Arne

-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc (application/pgp-signature, 1.1 KB)
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmcQtQwQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD66ZQD/9Zmhs9UBeEkjwEO+vg1UHQ0wz6a5m6rqTD
GVFQ19UYPyDMZ5zAIqJwBCQ4X/gWdfDAm8cl3oES/OmtGLN3ek3e47h2WpbmJIIr
fRsPOWXI1+n38Y1Cby4ZF23ZTDR9xlAKGUConSRx9naW/xsBtGgLa8khkcKnsq6X
e8bqZM9ug70hpSjC3iKKM4HDZH8llG8dCPRJ83xESeekSkVR8WKHdBZh8Y9QHRE0
2FRhIS7z+e/24jcYHCmX5kQ2FEpzp//+EXTKSvdGvkCWIbdQ5WrIwus5xWpEVjRq
GLDJokOF2y1CuUeAJeSp60Oxk91JTjyVQl8E5B93Az9tldOGh4yKHD9DHHzqF4Sx
OyY+xe77yaCGbumQ9PK37PDBVrtV99L2iL8RY9tBMFOVL9pSMc+P5ou7Hf20u0tt
iRvxP4JOc4LdcydkF94Jf8XjcGRE4dZdqNupf5jNRNj3YxqT+ItfVCoVePdfY8z+
iGpa6+NlD+r6Bt2/iBN7yQTMQmsXJaA98hKVvZIVguDB7tArBsJ2zitsIW1x8GbD
3FM5p+nAqbn3Os22HMfT7mUn7Y4g0KZo9rK10o/MywzyWI+iTHZUKcRJGf/0WaC+
pOl95KAkhEnEe4zWWe6uv+r+fMRSa5jHMYSklM2Ivji5dGyffIeB3Is1XjuFaIrf
8JhWWdCLQ4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmcQtQwQHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSIyVA/4pS7DFGVngOOsBabzBKdyIxLQY
kqoMLEQxA6dIX7/h8CUfrkcxyTEslK6RVL61U3FOYCCBHdh3uQNfh/3qFTPf4+UB
Nveu1Xv8DgZhpz5Cu9VHGITk/IbIh8d+d+RCAvH1KQI4SEQX4mfwjozz7I02S6zu
Yrcds/QkRgC3ey0ieg==
=qFkU
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.