Changeset 38894 in project


Ignore:
Timestamp:
08/28/20 17:56:47 (4 weeks ago)
Author:
felix winkelmann
Message:

updated coops page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/coops

    r37654 r38894  
    292292can be used to assign a value to a slot.
    293293
    294 ===== slot-initialized?
    295 
    296 <procedure>(slot-initialized? OBJECT SLOTNAME)</procedure>
     294===== slot-exists?
     295
     296<procedure>(slot-exists? OBJECT SLOTNAME)</procedure>
    297297
    298298Returns {{#t}} if {{OBJECT}} has a slot named {{SLOTNAME}} or
    299299{{#f}} ortherwise.
     300
     301===== slot-initialized?
     302
     303<procedure>(slot-initialized? OBJECT SLOTNAME)</procedure>
     304
     305Returns {{#t}} if the slot named {{SLOTNAME}} in {{OBJECT}} has been
     306initialized. If the slot does not exist, an error is signalled.
    300307
    301308==== Predefined classes
     
    480487=== Author
    481488
    482 COOPS is based on [[http://www.ccs.neu.edu/home/dorai/scmobj/scmobj.html|ScmObj]]
     489COOPS is based on [[https://web.archive.org/web/20141228020142/http://www.ccs.neu.edu/home/dorai/scmobj/scmobj.html|ScmObj]]
    483490by Dorai Sitaram and was ported to CHICKEN and heavily extended by [[felix winkelmann]]
    484491
     
    509516
    510517=== Version History
    511 
     518 
     519; 1.3 : Added {{slot-exists?}}.
     520; 1.2 : Disabled interrupts during execution of COOPS runtime procedures.
    512521; 1.1 : Use proper record-type tag-variable instead of unqualified record type name, fix missing source-dependency.
    513522; 1.0 : Initial release for CHICKEN 5, based on version 1.7 from CHICKEN 4
Note: See TracChangeset for help on using the changeset viewer.