[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] egg documentation
From: |
Jim Ursetto |
Subject: |
Re: [Chicken-users] egg documentation |
Date: |
Sun, 17 Feb 2008 14:36:34 -0600 |
I forgot to mention: if you accept a plain string you can also slim
down the overall representation considerably. In the example below,
some will remark that you've no longer wrapped the procedure
description in a tag. However, any reasonable parser should be able
to reconstruct this information heuristically--after all, we don't
require the user to wrap entire wiki sections in tags; we simply
reconstruct where they end. Off the top of my head, you could
terminate reading the procedure description at the next procedure
or section tag.
In my opinion, moving the smarts to the parser reduces the
burden on the user quite a bit, with little semantic loss.
For example:
<proc>(stream-xcons a b)</proc>
Of utility only as a value to be conveniently passed to higher-order
procedures.
<proc>(stream-cons* a b)</proc>
Like stream, but the last argument provides the tail of the
constructed stream, returning:
...
On 2/17/08, Jim Ursetto <address@hidden> wrote:
> For example, <procedure sig="(stream-xcons a b)"> ... </procedure>.
Re: [Chicken-users] egg documentation, Alejandro Forero Cuervo, 2008/02/17
Re: [Chicken-users] egg documentation, Ivan Raikov, 2008/02/17
Re: [Chicken-users] egg documentation, Vincent Manis, 2008/02/18
- Re: [Chicken-users] egg documentation, Alejandro Forero Cuervo, 2008/02/18
- [Chicken-users] Topics and a main index (was: egg documentation), Tobia Conforto, 2008/02/19
- Re: [Chicken-users] Topics and a main index (was: egg documentation), Vincent Manis, 2008/02/19
- Re: [Chicken-users] Topics and a main index (was: egg documentation), Jim Ursetto, 2008/02/19
- Re: [Chicken-users] Topics and a main index (was: egg documentation), Graham Fawcett, 2008/02/19
- Re: [Chicken-users] Topics and a main index (was: egg documentation), Tobia Conforto, 2008/02/19