[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pushed to master: extensibility to (ice-9 session)
From: |
Ludovic Courtès |
Subject: |
Re: pushed to master: extensibility to (ice-9 session) |
Date: |
Wed, 28 Jan 2009 13:26:29 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hi,
Andy Wingo <address@hidden> writes:
> On Tue 27 Jan 2009 21:30, address@hidden (Ludovic Courtès) writes:
>
>> Looks OK to me. (Too bad [(ice-9 session)] isn't documented BTW.) Do
>> you have example use cases?
>
> From (texinfo reflection):
>
> (cond
> ((defined? 'add-value-help-handler!)
> (define (stexi-help-handler name value)
> (stexi->plain-text (object-stexi-documentation value name #:force #t)))
> (define (module-help-handler name)
> (and (list? name)
> (and-map symbol? name)
> (stexi->plain-text (module-stexi-documentation name))))
>
> (add-value-help-handler! stexi-help-handler)
> (add-name-help-handler! module-help-handler)))
That's really nice!
I think we should aim for the integration of SSAX and STexi in Guile
2.0. The latter would allow us to do nice things regarding with
automatically extracted documentation.
Thanks,
Ludo'.
Re: pushed to master: extensibility to (ice-9 session), Neil Jerram, 2009/01/27