Changeset 15736 in project


Ignore:
Timestamp:
09/05/09 03:33:51 (10 years ago)
Author:
Kon Lovett
Message:

New rels.

Location:
wiki/eggref/4
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/check-errors

    r15710 r15736  
    106106(make-error-type-message 'integer "count") ;=> "bad `count' argument type - not an integer"
    107107</enscript>
     108
     109==== signal-type-error
     110
     111<procedure>(signal-type-error LOCATION MESSAGE OBJECT...)</procedure>
     112
     113Raises a non-continuable type error - (({exn type)}}.
    108114
    109115==== error-argument-type
  • wiki/eggref/4/locale

    r15683 r15736  
    2525''locale'' does not provide much of anything beyond locale identification.
    2626
    27 === Locale Components
     27=== Locale Components Structure
    2828
    2929The major data structure is the {{locale-components}} object, portrayed as an
     
    7575
    7676Is the {{OBJECT}} a {{locale-compenents}} object?
     77
     78==== error-locale-components
     79
     80<procedure>(error-locale-components LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     81
     82Raise a type-error.
     83
     84==== check-locale-components
     85
     86<procedure>(check-locale-components LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     87
     88Raise a type-error unless the {{OBJECT}} is a valid locale-components.
    7789
    7890==== locale-components-exists?
     
    226238Note that a {{timezone-components}} object is-a {{locale-compenents}} object.
    227239
     240==== error-timezone-components
     241
     242<procedure>(error-timezone-components LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     243
     244Raise a type-error.
     245
     246==== check-timezone-components
     247
     248<procedure>(check-timezone-components LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     249
     250Raise a type-error unless the {{OBJECT}} is a valid timezone-components.
     251
    228252==== timezone-components-exists?
    229253
     
    355379Invoke {{THUNK}} with the TZ environment variable bound to the string {{TZ}}.
    356380Uses the C library routine {{tzset}}. Restores the original TZ value.
     381
     382==== timezone-offset?
     383
     384<procedure>(timezone-offset? OBJECT) => BOOLEAN</procedure>
     385
     386Is the {{OBJECT}} a valid timezone offset in +/- seconds.
     387
     388==== error-timezone-offset
     389
     390<procedure>(error-timezone-offset LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     391
     392Raise a type-error.
     393
     394==== check-timezone-offset
     395
     396<procedure>(check-timezone-offset LOCATION OBJECT [ARGUMENT-NAME])</procedure>
     397
     398Raise a type-error unless the {{OBJECT}} a valid timezone offset in +/- seconds.
    357399
    358400
     
    457499== Version history
    458500
     501; 0.6.2 : Exported check/error- routines
     502; 0.6.1 : Bug fix
    459503; 0.6.0 : Initial Chicken 4 release
    460504
Note: See TracChangeset for help on using the changeset viewer.