[Top][All Lists]
[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: |
Fri, 21 Nov 2008 22:18:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
SM> They don't look too harmful, but I think we need more: we need to hook
SM> this into prin1 and into read so it works transparently.
> We can't, because we're converting to an alist and there's no way to
> convert back. True serialization would require a new marker, similar to
> () for lists and [] for vectors. Braces would probably work, I don't
> think they are used anywhere:
> { :prop1 prop-value1 :prop2 prop-value2 ... key1 val1 key2 val2 ... }
> (:prop1 is :test for example)
I was thinking of something more like #<hash-table ...> where "..."
would contain the props and then the key/value pairs. I.e. an extension
of the current (un`read'able syntax).
Stefan
- Re: print hash table to disk and reread in hash table, Ted Zlatanov, 2008/11/17
- hash-table-{to, from}-alist (was: print hash table to disk and reread in hash table), Ted Zlatanov, 2008/11/19
- Re: hash-table-{to, from}-alist, Glenn Morris, 2008/11/19
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/21
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/21
- Re: hash-table-{to, from}-alist,
Stefan Monnier <=
- Re: hash-table-{to, from}-alist, tomas, 2008/11/22
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/22
- Re: hash-table-{to, from}-alist, tomas, 2008/11/22
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/22
- Re: hash-table-{to, from}-alist, Richard M Stallman, 2008/11/24
- Re: hash-table-{to, from}-alist, Stefan Monnier, 2008/11/24
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/24
- Re: hash-table-{to, from}-alist, Stephen J. Turnbull, 2008/11/24
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/25
- Re: hash-table-{to, from}-alist, Ted Zlatanov, 2008/11/25