[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add procedures to convert alists into hash tables
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Add procedures to convert alists into hash tables |
Date: |
Mon, 24 Mar 2014 23:15:18 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Andy Wingo <address@hidden> skribis:
> On Mon 18 Nov 2013 21:32, address@hidden (Ludovic Courtès) writes:
>
>>> +(define (alist->hashx-table hash assoc alist)
>>> + "Convert @var{alist} into a hash table with custom @var{hash} and
>>> address@hidden procedures."
>>
>> Currently Texinfo markup in docstrings is left uninterpreted so it
>> can/should be avoided (it may change in the future, but the future’s not
>> now ;-)).
>
> Actually the future has always been now, but just not everywhere :)
>
> If you add this to your .guile:
>
> (use-modules (texinfo reflection))
>
> then all docstrings will be parsed and rendered using Guile's texinfo
> toolchain.
Yep, I discovered that in the meantime. :-)
> Also modules get nice help too; see e.g. (help (ice-9 popen)). We
> should probably fix whatever small bugs are out there regarding the
> output and just enable it by default.
Yes, agreed. The output appears to be “good enough”, AFAICS.
What would be the right way to enable it? Should (ice-9 session)
#:autoload (texinfo reflection), and do the ‘add-value-help-handler!’
itself?
Ludo’.