[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: type-of semantics unclear for records
From: |
Stefan Monnier |
Subject: |
Re: type-of semantics unclear for records |
Date: |
Wed, 05 Apr 2017 10:10:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> Ah, I'm afraid I don't know how type descriptors are supposed to work in
> Emacs.
IIRC from core-Elisp's point of view they exist only here in `type-of`
and are defined as "a record whose field 1 is the corresponding type
name (a symbol)".
> I don't offhand see the concept mentioned in the documentation;
> shouldn't it be?
Indeed, `make-record`s doctring should probably say something about it.
Stefan