Changeset 25856 in project


Ignore:
Timestamp:
02/02/12 23:55:40 (9 years ago)
Author:
Thomas Chust
Message:

added define-record-printer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/srfi-99

    r25170 r25856  
    172172Defines a new record property accessor {{RTP}}, optionally passing a
    173173{{DEFAULT}} to {{make-rtp}}.
     174
     175<syntax>(define-record-printer (RTD . ARGS) . BODY)</syntax>
     176<syntax>(define-record-printer RTD EXPR)</syntax>
     177
     178Defines a record printer for direct instances of {{RTD}}.
     179
     180In contrast to the built-in form of this macro provided by the CHICKEN
     181standard library, {{RTD}} is interpreted as an identifier bound to a
     182record type descriptor, not as the unique identifier used to tag
     183instances of the record type.
    174184
    175185==== srfi-99-variants
Note: See TracChangeset for help on using the changeset viewer.