emacs-devel
[Top][All Lists]
Advanced

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

Re: hash-table-{to, from}-alist


From: Stefan Monnier
Subject: Re: hash-table-{to, from}-alist
Date: Thu, 30 Jul 2009 21:30:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>> OK.  Can I use two names: "hashtable-read" and "hashtable-print" for the
>>> feature?  I can't think of a single name that doesn't sound clumsy
>>> (suggestions welcome, of course).

>> Just hashtable-read, I think.  After all, hashtables already have a
>> print representation (all Lisp objects do)---the present difficulty is
>> that this print representation isn't readable.

> Or hashtable-print-readable.

Of, course there's always another (more reliable) way:

   (hash-table-p (read-from-string (prin1-to-string (make-hash-table))))


-- Stefan




reply via email to

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