emacs-devel
[Top][All Lists]
Advanced

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

Re: new function proposal alist-to-hash


From: Stefan Monnier
Subject: Re: new function proposal alist-to-hash
Date: Thu, 03 Oct 2019 17:56:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I'd like to propose a new simple function called alist-to-hash to make
> hash-tables from a-lists.

I think `map-into` does that:

    (map-into '((a . 1) (b . 2)) 'hash-table)
    

-- Stefan




reply via email to

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