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" <arne_...@web.de> 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
Description: PGP signature