[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] egg documentation

From: Alejandro Forero Cuervo
Subject: Re: [Chicken-users] egg documentation
Date: Sun, 17 Feb 2008 07:07:00 -0800
User-agent: Mutt/1.5.13 (2006-08-11)

> The only piece I see missing right now is that documentation can't be
> posted to the wiki in a semanticly rich way from which other tools can
> easily extract meaning.  I will probably work on that.

Seeing that this has been just around the corner for months, I decided
to cross said corner today and start doing something about it.  I have
the following in wiki/stream-ext:

> === stream-xcons
> <procedure name="stream-xcons" args="a b" returns="stream">
> Of utility only as a value to be conveniently passed to higher-order
> procedures.
> <examples>
> <expr>(stream-xcons (stream 'b 'c) 'a)</expr>
> <result>#<stream (a b c)></result>
> <expr>(stream-xcons (stream 2 3 4) 1)</expr>
> <result>#<stream 1 2 3 4></result>
> </examples>
> The name stands for "eXchanged CONS."
> </procedure>

The output can be seen, obviously, in:

You can see the code that supports this in
stream-wiki/trunk/extensions/chicken.scm.  I would invite others to
define new syntactic constructions by extending that file and sending
patches (please do not commit directly to it) as a reply sent to the
list to this mail so that we can all comment on the new proposals.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]