Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • ram's avatar
    fd95d47c
    .../systems-work/code/defstruct.lisp, 07-Feb-90 16:41:55, Edit by Chiles. · fd95d47c
    ram authored
      Fixed '(:constructor) bug that failed to create a default constructor.
    
    /usr/lisp/code/defstruct.lisp, 26-Jul-89 19:10:17, Edit by Mbb.
      Structures that include another structure now inherit it's print-function
      if they do not have their own.  This inheritance may be suppressed by
      supplying :print-function without a name.  This is a cleanup.
    
    /usr/lisp/code/defstruct.lisp, 26-Jul-89 16:23:50, Edit by Mbb.
      Made BOA-constuctors only half that...  They now allow &key args.
    
      Also made DEFSTRUCT warn when you try to use a keyword as a slot name.
      This catches users who accidentally do
    
         (defstruct foo (:constructor ...) <slots>)
    
      instead of
    
         (defstruct (foo (:constructor ...)) <slots>).
    fd95d47c
    History
    .../systems-work/code/defstruct.lisp, 07-Feb-90 16:41:55, Edit by Chiles.
    ram authored
      Fixed '(:constructor) bug that failed to create a default constructor.
    
    /usr/lisp/code/defstruct.lisp, 26-Jul-89 19:10:17, Edit by Mbb.
      Structures that include another structure now inherit it's print-function
      if they do not have their own.  This inheritance may be suppressed by
      supplying :print-function without a name.  This is a cleanup.
    
    /usr/lisp/code/defstruct.lisp, 26-Jul-89 16:23:50, Edit by Mbb.
      Made BOA-constuctors only half that...  They now allow &key args.
    
      Also made DEFSTRUCT warn when you try to use a keyword as a slot name.
      This catches users who accidentally do
    
         (defstruct foo (:constructor ...) <slots>)
    
      instead of
    
         (defstruct (foo (:constructor ...)) <slots>).