Changeset 35248 in project


Ignore:
Timestamp:
03/04/18 22:36:40 (4 months ago)
Author:
kon
Message:

rel 2.2.0

File:
1 edited

Legend:

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

    r34433 r35248  
    4747==== check-defined-value
    4848
    49 <procedure>(check-defined-value LOC OBJ [ARGNAM]) => *</procedure>
     49<procedure>(check-defined-value LOC OBJ [ARGNAM]) -> *</procedure>
    5050
    5151Ensures the {{OBJ}} is non-void, i.e. not an undefined-value.
     
    5353==== check-bound-value
    5454
    55 <procedure>(check-bound-value LOC OBJ [ARGNAM]) => *</procedure>
     55<procedure>(check-bound-value LOC OBJ [ARGNAM]) -> *</procedure>
    5656
    5757Ensures the {{OBJ}} is the value of a bound variable.
     
    6262==== check-fixnum
    6363
    64 <procedure>(check-fixnum LOC OBJ [ARGNAM]) => *</procedure>
     64<procedure>(check-fixnum LOC OBJ [ARGNAM]) -> *</procedure>
    6565
    6666==== check-positive-fixnum
    6767
    68 <procedure>(check-positive-fixnum LOC OBJ [ARGNAM]) => *</procedure>
     68<procedure>(check-positive-fixnum LOC OBJ [ARGNAM]) -> *</procedure>
    6969
    7070==== check-natural-fixnum
    7171
    72 <procedure>(check-natural-fixnum LOC OBJ [ARGNAM]) => *</procedure>
     72<procedure>(check-natural-fixnum LOC OBJ [ARGNAM]) -> *</procedure>
    7373
    7474==== check-flonum
    7575
    76 <procedure>(check-flonum LOC OBJ [ARGNAM]) => *</procedure>
     76<procedure>(check-flonum LOC OBJ [ARGNAM]) -> *</procedure>
    7777
    7878==== check-integer
    7979
    80 <procedure>(check-integer LOC OBJ [ARGNAM]) => *</procedure>
     80<procedure>(check-integer LOC OBJ [ARGNAM]) -> *</procedure>
    8181
    8282==== check-positive-integer
    8383
    84 <procedure>(check-positive-integer LOC OBJ [ARGNAM]) => *</procedure>
     84<procedure>(check-positive-integer LOC OBJ [ARGNAM]) -> *</procedure>
    8585
    8686==== check-natural-integer
    8787
    88 <procedure>(check-natural-integer LOC OBJ [ARGNAM]) => *</procedure>
     88<procedure>(check-natural-integer LOC OBJ [ARGNAM]) -> *</procedure>
    8989
    9090==== check-number
    9191
    92 <procedure>(check-number LOC OBJ [ARGNAM]) => *</procedure>
     92<procedure>(check-number LOC OBJ [ARGNAM]) -> *</procedure>
    9393
    9494==== check-positive-number
    9595
    96 <procedure>(check-positive-number LOC OBJ [ARGNAM]) => *</procedure>
     96<procedure>(check-positive-number LOC OBJ [ARGNAM]) -> *</procedure>
    9797
    9898==== check-natural-number
    9999
    100 <procedure>(check-natural-number LOC OBJ [ARGNAM]) => *</procedure>
     100<procedure>(check-natural-number LOC OBJ [ARGNAM]) -> *</procedure>
    101101
    102102==== check-procedure
    103103
    104 <procedure>(check-procedure LOC OBJ [ARGNAM]) => *</procedure>
     104<procedure>(check-procedure LOC OBJ [ARGNAM]) -> *</procedure>
    105105
    106106==== check-input-port
    107107
    108 <procedure>(check-input-port LOC OBJ [ARGNAM]) => *</procedure>
     108<procedure>(check-input-port LOC OBJ [ARGNAM]) -> *</procedure>
    109109
    110110==== check-output-port
    111111
    112 <procedure>(check-output-port LOC OBJ [ARGNAM]) => *</procedure>
     112<procedure>(check-output-port LOC OBJ [ARGNAM]) -> *</procedure>
    113113
    114114==== check-list
    115115
    116 <procedure>(check-list LOC OBJ [ARGNAM]) => *</procedure>
     116<procedure>(check-list LOC OBJ [ARGNAM]) -> *</procedure>
    117117
    118118==== check-pair
    119119
    120 <procedure>(check-pair LOC OBJ [ARGNAM]) => *</procedure>
     120<procedure>(check-pair LOC OBJ [ARGNAM]) -> *</procedure>
    121121
    122122==== check-blob
    123123
    124 <procedure>(check-blob LOC OBJ [ARGNAM]) => *</procedure>
     124<procedure>(check-blob LOC OBJ [ARGNAM]) -> *</procedure>
    125125
    126126==== check-vector
    127127
    128 <procedure>(check-vector LOC OBJ [ARGNAM]) => *</procedure>
     128<procedure>(check-vector LOC OBJ [ARGNAM]) -> *</procedure>
    129129
    130130==== check-structure
    131131
    132 <procedure>(check-structure LOC OBJ TAG [ARGNAM]) => *</procedure>
    133 <procedure>(check-record LOC OBJ TAG [ARGNAM]) => *</procedure>
    134 <procedure>(check-record-type LOC OBJ TAG [ARGNAM]) => *</procedure>
     132<procedure>(check-structure LOC OBJ TAG [ARGNAM]) -> *</procedure>
     133<procedure>(check-record LOC OBJ TAG [ARGNAM]) -> *</procedure>
     134<procedure>(check-record-type LOC OBJ TAG [ARGNAM]) -> *</procedure>
    135135
    136136{{check-record}} and {{check-record-type}} are essentially synonyms.
     
    138138==== check-symbol
    139139
    140 <procedure>(check-symbol LOC OBJ [ARGNAM]) => *</procedure>
     140<procedure>(check-symbol LOC OBJ [ARGNAM]) -> *</procedure>
    141141
    142142==== check-keyword
    143143
    144 <procedure>(check-keyword LOC OBJ [ARGNAM]) => *</procedure>
     144<procedure>(check-keyword LOC OBJ [ARGNAM]) -> *</procedure>
    145145
    146146==== check-string
    147147
    148 <procedure>(check-string LOC OBJ [ARGNAM]) => *</procedure>
     148<procedure>(check-string LOC OBJ [ARGNAM]) -> *</procedure>
    149149
    150150==== check-char
    151151
    152 <procedure>(check-char LOC OBJ [ARGNAM]) => *</procedure>
     152<procedure>(check-char LOC OBJ [ARGNAM]) -> *</procedure>
    153153
    154154==== check-boolean
    155155
    156 <procedure>(check-boolean LOC OBJ [ARGNAM]) => *</procedure>
     156<procedure>(check-boolean LOC OBJ [ARGNAM]) -> *</procedure>
    157157
    158158==== check-alist
    159159
    160 <procedure>(check-alist LOC OBJ [ARGNAM]) => *</procedure>
     160<procedure>(check-alist LOC OBJ [ARGNAM]) -> *</procedure>
    161161
    162162==== check-minimum-argument-count
    163163
    164 <procedure>(check-minimum-argument-count LOC ARGC MINARGC) => *</procedure>
     164<procedure>(check-minimum-argument-count LOC ARGC MINARGC) -> *</procedure>
    165165
    166166Does not verify the type of {{ARGC}}, and {{MINARGC}}.
     
    168168==== check-argument-count
    169169
    170 <procedure>(check-argument-count LOC ARGC MAXARGC) => *</procedure>
     170<procedure>(check-argument-count LOC ARGC MAXARGC) -> *</procedure>
    171171
    172172Does not verify the type of {{ARGC}}, and {{MAXARGC}}.
     
    174174==== check-open-interval
    175175
    176 <procedure>(check-open-interval LOC NUM MINNUM MAXNUM [ARGNAM]) => *</procedure>
     176<procedure>(check-open-interval LOC NUM MINNUM MAXNUM [ARGNAM]) -> *</procedure>
    177177
    178178{{NUM}} in {{]MINNUM MAXNUM[}}.
     
    182182==== check-closed-interval
    183183
    184 <procedure>(check-closed-interval LOC NUM MINNUM MAXNUM [ARGNAM]) => *</procedure>
     184<procedure>(check-closed-interval LOC NUM MINNUM MAXNUM [ARGNAM]) -> *</procedure>
    185185
    186186{{NUM}} in {{[MINNUM MAXNUM]}}.
     
    190190==== check-half-open-interval
    191191
    192 <procedure>(check-half-open-interval LOC NUM MINNUM MAXNUM [ARGNAM]) => *</procedure>
     192<procedure>(check-half-open-interval LOC NUM MINNUM MAXNUM [ARGNAM]) -> *</procedure>
    193193
    194194{{NUM}} in {{]MINNUM MAXNUM]}}.
     
    198198==== check-half-closed-interval
    199199
    200 <procedure>(check-half-closed-interval LOC NUM MINNUM MAXNUM [ARGNAM]) => *</procedure>
     200<procedure>(check-half-closed-interval LOC NUM MINNUM MAXNUM [ARGNAM]) -> *</procedure>
    201201
    202202{{NUM}} in {{[MINNUM MAXNUM[}}.
     
    206206==== check-range
    207207
    208 <procedure>(check-range LOC START END [ARGNAM])</procedure>
    209 
    210 Verify {{(<= START END)}}.
    211 
    212 Does not verify the type of {{START}} and {{END}}.
     208<procedure>(check-range LOC START END [ARGNAM]) -> number number</procedure>
     209
     210Verify {{(<= START END)}} & return {{(values START END)}}.
     211
     212Does not verify the type of {{START}} and {{END}}, but assumes {{(or fixnum
     213flonum)}}.
    213214
    214215==== define-check-type
     
    269270==== make-bad-argument-message
    270271
    271 <procedure>(make-bad-argument-message [ARGNAM]) => string</procedure>
     272<procedure>(make-bad-argument-message [ARGNAM]) -> string</procedure>
    272273
    273274Returns an argument type error message for the, optional, {{ARGNAM}}.
     
    284285==== make-type-name-message
    285286
    286 <procedure>(make-type-name-message TYPNAM) => string</procedure>
     287<procedure>(make-type-name-message TYPNAM) -> string</procedure>
    287288
    288289Returns an argument type message for the {{TYPNAM}} by supplying an article.
     
    298299==== make-error-type-message
    299300
    300 <procedure>(make-error-type-message TYPNAM [ARGNAM]) => string</procedure>
     301<procedure>(make-error-type-message TYPNAM [ARGNAM]) -> string</procedure>
    301302
    302303Returns a type error message from the {{TYPNAM}} and optional {{ARGNAM}}.
     
    518519==== check-s8vector
    519520
    520 <procedure>(check-s8vector LOC OBJ [ARGNAM]) => *</procedure>
     521<procedure>(check-s8vector LOC OBJ [ARGNAM]) -> *</procedure>
    521522
    522523==== check-u8vector
    523524
    524 <procedure>(check-u8vector LOC OBJ [ARGNAM]) => *</procedure>
     525<procedure>(check-u8vector LOC OBJ [ARGNAM]) -> *</procedure>
    525526
    526527==== check-s16vector
    527528
    528 <procedure>(check-s16vector LOC OBJ [ARGNAM]) => *</procedure>
     529<procedure>(check-s16vector LOC OBJ [ARGNAM]) -> *</procedure>
    529530
    530531==== check-u16vector
    531532
    532 <procedure>(check-u16vector LOC OBJ [ARGNAM]) => *</procedure>
     533<procedure>(check-u16vector LOC OBJ [ARGNAM]) -> *</procedure>
    533534
    534535==== check-s32vector
    535536
    536 <procedure>(check-s32vector LOC OBJ [ARGNAM]) => *</procedure>
     537<procedure>(check-s32vector LOC OBJ [ARGNAM]) -> *</procedure>
    537538
    538539==== check-u32vector
    539540
    540 <procedure>(check-u32vector LOC OBJ [ARGNAM]) => *</procedure>
     541<procedure>(check-u32vector LOC OBJ [ARGNAM]) -> *</procedure>
    541542
    542543==== check-s64vector
    543544
    544 <procedure>(check-s64vector LOC OBJ [ARGNAM]) => *</procedure>
     545<procedure>(check-s64vector LOC OBJ [ARGNAM]) -> *</procedure>
    545546
    546547==== check-u64vector
    547548
    548 <procedure>(check-u64vector LOC OBJ [ARGNAM]) => *</procedure>
     549<procedure>(check-u64vector LOC OBJ [ARGNAM]) -> *</procedure>
    549550
    550551==== check-f32vector
    551552
    552 <procedure>(check-f32vector LOC OBJ [ARGNAM]) => *</procedure>
     553<procedure>(check-f32vector LOC OBJ [ARGNAM]) -> *</procedure>
    553554
    554555==== check-f64vector
    555556
    556 <procedure>(check-f64vector LOC OBJ [ARGNAM]) => *</procedure>
     557<procedure>(check-f64vector LOC OBJ [ARGNAM]) -> *</procedure>
    557558
    558559
     
    628629== Version history
    629630
     631; 2.2.0 ; Fix {{check-range}} return.
    630632; 2.1.0 ; Add {{check-range}}, {{error-range}}, {{signal-bounds-error}}.
    631633; 2.0.1 ; Fix interval boundary symbols.
Note: See TracChangeset for help on using the changeset viewer.