emacs-devel
[Top][All Lists]
Advanced

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

Should records be able to mimic primitive types?


From: Paul Eggert
Subject: Should records be able to mimic primitive types?
Date: Tue, 4 Apr 2017 15:00:01 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

In looking at the 'record' feature recently added to master, I noticed that (record 'integer 'foo 'bar) returns a value V such that (type-of V) yields the symbol 'integer', even though V is not an integer. Is this intended? Or should 'record' and 'make-record' reject attempts to build records that pretend to be of primitive types?




reply via email to

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