all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* User-defined record types, v3
@ 2017-03-29  7:14 Lars Brinkhoff
  2017-04-03 17:49 ` Lars Brinkhoff
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Brinkhoff @ 2017-03-29  7:14 UTC (permalink / raw)
  To: emacs-devel

Third review round for user-defined record types, available from the
branch scratch/record.

- ChangeLog commit messages.
- EIEIO has been adapted to use records.
- Tests have been added.
- Documentation has been updated.
- No testsuite regressions.

From the manual:

      The purpose of records is to allow programmers to create objects
    with new types that are not built into Emacs.  They are used as the
    underlying representation of @code{cl-defstruct} and @code{defclass}
    instances.
      
      Internally, a record object is much like a vector; its slots can
    be accessed using @code{aref}.  However, the first slot is used to
    hold its type as returned by @code{type-of}.  Like arrays, records
    use zero-origin indexing: the first slot has index 0.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-04 12:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29  7:14 User-defined record types, v3 Lars Brinkhoff
2017-04-03 17:49 ` Lars Brinkhoff
2017-04-04  0:43   ` John Wiegley
2017-04-04  7:40     ` Lars Brinkhoff
2017-04-04 12:08       ` Clément Pit-Claudel
2017-04-04 12:32         ` Lars Brinkhoff
2017-04-04 12:48           ` Checking the version of Emacs that an ELisp file was compiled with [WAS: Re: User-defined record types, v3] Clément Pit-Claudel

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.