[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash-table-{to, from}-alist
From: |
Ted Zlatanov |
Subject: |
Re: hash-table-{to, from}-alist |
Date: |
Fri, 31 Jul 2009 12:49:19 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
On Thu, 30 Jul 2009 21:30:48 -0400 Stefan Monnier <address@hidden> wrote:
>>>> 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.
SM> Of, course there's always another (more reliable) way:
SM> (hash-table-p (read-from-string (prin1-to-string (make-hash-table))))
That was my first thought, but it seemed like a really hacky approach
when featurep exists.
Ted
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2009/07/30
- Re: hash-table-{to, from}-alist, Chong Yidong, 2009/07/30
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2009/07/30
- Re: hash-table-{to, from}-alist, Chong Yidong, 2009/07/30
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2009/07/30
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2009/07/30
- Re: hash-table-{to, from}-alist,
Ted Zlatanov <=
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2009/07/31
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2009/07/31
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2009/07/31
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2009/07/31