Changeset 16003 in project


Ignore:
Timestamp:
09/21/09 00:26:56 (10 years ago)
Author:
Kon Lovett
Message:

Forgot record

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/coerce

    r16002 r16003  
    1515The major difference here is the ability to extend the type domain.
    1616
    17 
    1817=== type-of
    1918
     
    3231
    3332Returns a type symbol for the type of {{OBJECT}}.
     33
     34Built-in types are {{unspecified}} ({{void}}), {{boolean}},
     35{{record-instance}}, {{port}}, {{char}}, {{number}}, {{string}}, {{keyword}},
     36{{symbol}}, {{pair}}, {{list}}, and {{vector}}. The catch-all is
     37{{scheme-object}}.
    3438
    3539==== type-of-extended?
     
    8791error.
    8892
    89 Built-in types are {{char}}, {{number}}, {{string}}, {{symbol}}, {{list}}, and {{vector}}.
     93Built-in types are {{boolean}},
     94{{record-instance}}, {{port}}, {{char}}, {{number}}, {{string}}, {{keyword}},
     95{{symbol}}, {{pair}}, {{list}}, and {{vector}}.
    9096
    9197==== coerce-all
Note: See TracChangeset for help on using the changeset viewer.