Hi David,

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

> +@deffn {Scheme Procedure} alist->hash-table alist
> +@deffnx {Scheme Procedure} alist->hashq-table alist
> +@deffnx {Scheme Procedure} alist->hashv-table alist
> +@deffnx {Scheme Procedure} alist->hashx-table hash assoc alist
> +Convert @var{alist} into a hash table. When keys are repeated in
> +@var{alist}, the leftmost association takes precedence.
> +
> +@example
> +(use-modules (ice-9 hash-table))
> +(alist->hash-table '((foo . 1) (bar . 2)))
> +@end example
> +
> +When converting to an extended hash table, custom @var{hash} and
> +@var{assoc} procedures must be provided.
> +
> +@example
> +(alist->hash-table hash assoc '((foo . 1) (bar . 2)))

This should be 'alist->hashx-table'.
Other than that, the patch looks good to me!

     Mark

Reply via email to