emacs-devel
[Top][All Lists]
Advanced

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

Print representation of records and hash tables


From: Tianxiang Xiong
Subject: Print representation of records and hash tables
Date: Mon, 11 Dec 2017 02:32:13 -0800

Emacs 26 introduces records, which have a print representation starting with `#s`, followed by a list of contents.

This seems similar to the print representation of hash tables:

(make-hash-table) 
;; => #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data ( ...))

Is this merely "coincidence", or is there some deeper meaning? If not, isn't it confusing to have two different objects w/ such similar print representations?

reply via email to

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