guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add procedures to convert alists into hash tables


From: David Thompson
Subject: Re: [PATCH] Add procedures to convert alists into hash tables
Date: Mon, 18 Nov 2013 21:00:58 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 11/18/2013 03:32 PM, Ludovic Courtès wrote:
> David Thompson <address@hidden> skribis:
> 
>> From 03f604cc3dfffb816cfe66a355e36ede337749f1 Mon Sep 17 00:00:00 2001
>> From: David Thompson <address@hidden>
>> Date: Sat, 19 Oct 2013 22:43:37 -0400
>> Subject: [PATCH] Add procedures to convert alists into hash tables.
>>
>> * module/ice-9/hash-table.scm: New module.
>>
>> * test-suite/tests/hash.test ("alist conversion"): Add tests.
>>
>> * doc/ref/api-compound.texi (Hash Table Reference): Add docs.
> 
> Agreed with Mark’s comment, but otherwise looks good to me.
> 
>> +(define-syntax-rule (define-alist-converter name hash-set-proc)
>> +  (define (name alist)
> 
> [...]
> 
>> +(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 ;-)).
> 
> Thanks!
> 
> Ludo’.
> 

Fixed texi docs and docstrings.

- Dave

Attachment: 0001-Add-procedures-to-convert-alists-into-hash-tables.patch
Description: Text Data


reply via email to

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