David Thompson <dthomps...@worcester.edu> skribis:

> From 03f604cc3dfffb816cfe66a355e36ede337749f1 Mon Sep 17 00:00:00 2001
> From: David Thompson <dthomps...@worcester.edu>
> 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
> +@var{assoc} 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’.

Reply via email to