emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record


From: Richard Stallman
Subject: Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.
Date: Tue, 12 Dec 2017 17:05:03 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > +*** The return value of 'type-of' is no longer a reliable indicator
  > +for the type of an object.  For example, a return value of 'integer'
  > +now means that the object in question is either an integer or a record
  > +named 'integer'.  To reliably test the type of an object, use the
  > +predicate functions such as 'integerp'.  Don't define record types
  > +whose names clash with primitive type names.
  > +
  > +*** The printed representation of a record named 'hash-table' now
  > +clashes with the printed representation of a hash table.  Don't define
  > +record types named 'hash-table'.

This is very bad behavior.

It would be much less bad to signal an error if anyone tries to define
record types with these names.

How many such names are there?

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.




reply via email to

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