Changeset 35244 in project


Ignore:
Timestamp:
03/04/18 22:18:21 (7 months ago)
Author:
kon
Message:

rel 1.5.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/condition-utils

    r34176 r35244  
    4343=== make-exn-condition
    4444
    45 <procedure>(make-exn-condition [LOC [MSG [ARGS [CHN]]]]) => property-condition</procedure>
     45<procedure>(make-exn-condition [LOC [MSG [ARGS [CHN]]]]) --> property-condition</procedure>
    4646
    4747Returns an {{exn}} {{property-condition}} with optional {{location}},
     
    5959=== make-exn-condition+
    6060
    61 <procedure>(make-exn-condition+ LOC MSG ARGS [CHN] [COND-EXPR...]) => property-condition</procedure>
     61<procedure>(make-exn-condition+ LOC MSG ARGS [CHN] [COND-EXPR...]) --> property-condition</procedure>
    6262
    6363Returns a {{composite-condition}} {{exn COND-EXPR...}}.
     
    7171=== make-condition+
    7272
    73 <procedure>(make-condition+ COND-EXPR...) => property-condition</procedure>
     73<procedure>(make-condition+ COND-EXPR...) --> property-condition</procedure>
    7474
    7575Returns a {{composite-condition}} {{COND-EXPR...}}.
     
    7777=== make-condition-predicate
    7878
    79 <macro>(make-condition-predicate KIND...) => (procedure (*) boolean)</macro>
     79<macro>(make-condition-predicate KIND...) --> (procedure (*) boolean)</macro>
    8080
    8181Returns a {{condition-predicate}} for {{KIND...}}.
     
    8383=== make-condition-property-accessor
    8484
    85 <macro>(make-condition-property-accessor KIND PROP [DEFAULT]) => (procedure (*) boolean)</macro>
     85<macro>(make-condition-property-accessor KIND PROP [DEFAULT]) --> (procedure (*) boolean)</macro>
    8686
    8787Returns a {{condition-property-accessor}} for {{KIND PROP}}. The default value
     
    9090=== condition-irritants
    9191
    92 <procedure>(condition-irritants COND) => list</procedure>
     92<procedure>(condition-irritants COND) --> list</procedure>
    9393
    9494Returns a list of the condition properties for the condition {{COND}}. The form
     
    125125=== condition-predicate*
    126126
    127 <procedure>(condition-predicate* KIND) => (procedure (*) boolean)</procedure>
     127<procedure>(condition-predicate* KIND) --> (* -> boolean : condition)</procedure>
    128128
    129129Returns a "memoized" {{condition-predicate}} for {{KIND}}.
     
    131131=== condition-property-accessor*
    132132
    133 <procedure>(condition-property-accessor* KIND PROP [DEFAULT]) => (procedure (*) boolean)</procedure>
    134 
    135 Returns a "memoized" {{condition-property-accessor}} for {{KIND}}. The default
    136 value of {{DEFAULT}} is {{#f}}.
     133<procedure>(condition-property-accessor* KIND PROP [DEFAULT #f]) --> (condition --> *)</procedure>
     134
     135Returns a "memoized" {{condition-property-accessor}} for {{KIND}}.
    137136
    138137
     
    149148===== exn-condition?
    150149
    151 <procedure>(exn-condition? COND) => boolean</procedure>
     150<procedure>(exn-condition? COND) --> boolean</procedure>
    152151
    153152===== arity-condition?
    154153
    155 <procedure>(arity-condition? COND) => boolean</procedure>
     154<procedure>(arity-condition? COND) --> boolean</procedure>
    156155
    157156===== type-condition?
    158157
    159 <procedure>(type-condition? COND) => boolean</procedure>
     158<procedure>(type-condition? COND) --> boolean</procedure>
    160159
    161160===== arithmetic-condition?
    162161
    163 <procedure>(arithmetic-condition? COND) => boolean</procedure>
     162<procedure>(arithmetic-condition? COND) --> boolean</procedure>
    164163
    165164===== i/o-condition?
    166165
    167 <procedure>(i/o-condition? COND) => boolean</procedure>
     166<procedure>(i/o-condition? COND) --> boolean</procedure>
    168167
    169168===== file-condition?
    170169
    171 <procedure>(file-condition? COND) => boolean</procedure>
     170<procedure>(file-condition? COND) --> boolean</procedure>
    172171
    173172===== network-condition?
    174173
    175 <procedure>(network-condition? COND) => boolean</procedure>
     174<procedure>(network-condition? COND) --> boolean</procedure>
    176175
    177176===== network-timeout-condition?
    178177
    179 <procedure>(network-timeout-condition? COND) => boolean</procedure>
     178<procedure>(network-timeout-condition? COND) --> boolean</procedure>
    180179
    181180===== bounds-condition?
    182181
    183 <procedure>(bounds-condition? COND) => boolean</procedure>
     182<procedure>(bounds-condition? COND) --> boolean</procedure>
    184183
    185184===== runtime-condition?
    186185
    187 <procedure>(runtime-condition? COND) => boolean</procedure>
     186<procedure>(runtime-condition? COND) --> boolean</procedure>
    188187
    189188===== runtime-limit-condition?
    190189
    191 <procedure>(runtime-limit-condition? COND) => boolean</procedure>
     190<procedure>(runtime-limit-condition? COND) --> boolean</procedure>
    192191
    193192===== runtime-cycle-condition?
    194193
    195 <procedure>(runtime-cycle-condition? COND) => boolean</procedure>
     194<procedure>(runtime-cycle-condition? COND) --> boolean</procedure>
    196195
    197196===== match-condition?
    198197
    199 <procedure>(match-condition? COND) => boolean</procedure>
     198<procedure>(match-condition? COND) --> boolean</procedure>
    200199
    201200===== syntax-condition?
    202201
    203 <procedure>(syntax-condition? COND) => boolean</procedure>
     202<procedure>(syntax-condition? COND) --> boolean</procedure>
    204203
    205204===== process-condition?
    206205
    207 <procedure>(process-condition? COND) => boolean</procedure>
     206<procedure>(process-condition? COND) --> boolean</procedure>
    208207
    209208===== access-condition?
    210209
    211 <procedure>(access-condition? COND) => boolean</procedure>
     210<procedure>(access-condition? COND) --> boolean</procedure>
    212211
    213212===== domain-condition?
    214213
    215 <procedure>(domain-condition? COND) => boolean</procedure>
     214<procedure>(domain-condition? COND) --> boolean</procedure>
    216215
    217216===== memory-condition?
    218217
    219 <procedure>(memory-condition? COND) => boolean</procedure>
     218<procedure>(memory-condition? COND) --> boolean</procedure>
    220219
    221220==== Condition Property Accessors
     
    223222===== exn-location
    224223
    225 <procedure>(exn-location COND) => *</procedure>
     224<procedure>(exn-location COND) --> *</procedure>
    226225
    227226===== exn-message
    228227
    229 <procedure>(exn-message COND) => *</procedure>
     228<procedure>(exn-message COND) --> *</procedure>
    230229
    231230===== exn-arguments
    232231
    233 <procedure>(exn-arguments COND) => *</procedure>
     232<procedure>(exn-arguments COND) --> *</procedure>
    234233
    235234===== exn-call-chain
    236235
    237 <procedure>(exn-call-chain COND) => *</procedure>
     236<procedure>(exn-call-chain COND) --> *</procedure>
    238237
    239238
     
    250249===== http-condition?
    251250
    252 <procedure>(http-condition? COND) => boolean</procedure>
     251<procedure>(http-condition? COND) --> boolean</procedure>
    253252
    254253===== client-error-condition?
    255254
    256 <procedure>(client-error-condition? COND) => boolean</procedure>
     255<procedure>(client-error-condition? COND) --> boolean</procedure>
    257256
    258257===== server-error-condition?
    259258
    260 <procedure>(server-error-condition? COND) => boolean</procedure>
     259<procedure>(server-error-condition? COND) --> boolean</procedure>
    261260
    262261===== unexpected-server-response-condition?
    263262
    264 <procedure>(unexpected-server-response-condition? COND) => boolean</procedure>
     263<procedure>(unexpected-server-response-condition? COND) --> boolean</procedure>
    265264
    266265===== redirect-depth-exceeded-condition?
    267266
    268 <procedure>(redirect-depth-exceeded-condition? COND) => boolean</procedure>
     267<procedure>(redirect-depth-exceeded-condition? COND) --> boolean</procedure>
    269268
    270269===== unsupported-uri-scheme-condition?
    271270
    272 <procedure>(unsupported-uri-scheme-condition? COND) => boolean</procedure>
     271<procedure>(unsupported-uri-scheme-condition? COND) --> boolean</procedure>
    273272
    274273===== unknown-authtype-condition?
    275274
    276 <procedure>(unknown-authtype-condition? COND) => boolean</procedure>
     275<procedure>(unknown-authtype-condition? COND) --> boolean</procedure>
    277276
    278277==== Condition Property Accessors
     
    280279===== client-error-response
    281280
    282 <procedure>(client-error-response COND) => *</procedure>
     281<procedure>(client-error-response COND) --> *</procedure>
    283282
    284283===== client-error-body
    285284
    286 <procedure>(client-error-body COND) => *</procedure>
     285<procedure>(client-error-body COND) --> *</procedure>
    287286
    288287===== server-error-response
    289288
    290 <procedure>(server-error-response COND) => *</procedure>
     289<procedure>(server-error-response COND) --> *</procedure>
    291290
    292291===== server-error-body
    293292
    294 <procedure>(server-error-body COND) => *</procedure>
     293<procedure>(server-error-body COND) --> *</procedure>
    295294
    296295===== unexpected-server-response-response
    297296
    298 <procedure>(unexpected-server-response-response COND) => *</procedure>
     297<procedure>(unexpected-server-response-response COND) --> *</procedure>
    299298
    300299===== unexpected-server-response-body
    301300
    302 <procedure>(unexpected-server-response-body COND) => *</procedure>
     301<procedure>(unexpected-server-response-body COND) --> *</procedure>
    303302
    304303===== redirect-depth-exceeded-uri
    305304
    306 <procedure>(redirect-depth-exceeded-uri COND) => *</procedure>
     305<procedure>(redirect-depth-exceeded-uri COND) --> *</procedure>
    307306
    308307===== formdata-error-condition?
    309308
    310 <procedure>(formdata-error-condition? COND) => boolean</procedure>
     309<procedure>(formdata-error-condition? COND) --> boolean</procedure>
    311310
    312311===== unsupported-uri-scheme-uri-scheme
    313312
    314 <procedure>(unsupported-uri-scheme-uri-scheme COND) => *</procedure>
     313<procedure>(unsupported-uri-scheme-uri-scheme COND) --> *</procedure>
    315314
    316315===== unsupported-uri-scheme-request-uri
    317316
    318 <procedure>(unsupported-uri-scheme-request-uri COND) => *</procedure>
     317<procedure>(unsupported-uri-scheme-request-uri COND) --> *</procedure>
    319318
    320319===== unknown-authtype-authtype
    321320
    322 <procedure>(unknown-authtype-authtype COND) => *</procedure>
     321<procedure>(unknown-authtype-authtype COND) --> *</procedure>
    323322
    324323
     
    335334===== http-condition?
    336335
    337 <procedure>(http-condition? COND) => boolean</procedure>
     336<procedure>(http-condition? COND) --> boolean</procedure>
    338337
    339338===== urlencoded-request-data-limit-exceeded?
    340339
    341 <procedure>(urlencoded-request-data-limit-exceeded? COND) => boolean</procedure>
     340<procedure>(urlencoded-request-data-limit-exceeded? COND) --> boolean</procedure>
    342341
    343342===== line-limit-exceeded?
    344343
    345 <procedure>(line-limit-exceeded? COND) => boolean</procedure>
     344<procedure>(line-limit-exceeded? COND) --> boolean</procedure>
    346345
    347346===== header-error?
    348347
    349 <procedure>(header-error? COND) => boolean</procedure>
     348<procedure>(header-error? COND) --> boolean</procedure>
    350349
    351350===== header-limit-exceeded?
    352351
    353 <procedure>(header-limit-exceeded? COND) => boolean</procedure>
     352<procedure>(header-limit-exceeded? COND) --> boolean</procedure>
    354353
    355354===== unknown-protocol-line?
    356355
    357 <procedure>(unknown-protocol-line? COND) => boolean</procedure>
     356<procedure>(unknown-protocol-line? COND) --> boolean</procedure>
    358357
    359358===== unknown-protocol?
    360359
    361 <procedure>(unknown-protocol? COND) => boolean</procedure>
     360<procedure>(unknown-protocol? COND) --> boolean</procedure>
    362361
    363362===== unknown-code?
    364363
    365 <procedure>(unknown-code? COND) => boolean</procedure>
     364<procedure>(unknown-code? COND) --> boolean</procedure>
    366365
    367366===== unknown-status?
    368367
    369 <procedure>(unknown-status? COND) => boolean</procedure>
     368<procedure>(unknown-status? COND) --> boolean</procedure>
    370369
    371370===== rfc1123-subparser?
    372371
    373 <procedure>(rfc1123-subparser? COND) => boolean</procedure>
     372<procedure>(rfc1123-subparser? COND) --> boolean</procedure>
    374373
    375374===== rfc850-subparser?
    376375
    377 <procedure>(rfc850-subparser? COND) => boolean</procedure>
     376<procedure>(rfc850-subparser? COND) --> boolean</procedure>
    378377
    379378===== asctime-subparser?
    380379
    381 <procedure>(asctime-subparser? COND) => boolean</procedure>
     380<procedure>(asctime-subparser? COND) --> boolean</procedure>
    382381
    383382===== http-date-subparser?
    384383
    385 <procedure>(http-date-subparser? COND) => boolean</procedure>
     384<procedure>(http-date-subparser? COND) --> boolean</procedure>
    386385
    387386===== unencoded-header?
    388387
    389 <procedure>(unencoded-header? COND) => boolean</procedure>
     388<procedure>(unencoded-header? COND) --> boolean</procedure>
    390389
    391390===== username-with-colon?
    392391
    393 <procedure>(username-with-colon? COND) => boolean</procedure>
     392<procedure>(username-with-colon? COND) --> boolean</procedure>
    394393
    395394==== Condition Property Accessors
     
    397396===== urlencoded-request-data-limit-exceeded-contents
    398397
    399 <procedure>(urlencoded-request-data-limit-exceeded-contents COND) => *</procedure>
     398<procedure>(urlencoded-request-data-limit-exceeded-contents COND) --> *</procedure>
    400399
    401400===== urlencoded-request-data-limit-exceeded-limit
    402401
    403 <procedure>(urlencoded-request-data-limit-exceeded-limit COND) => *</procedure>
     402<procedure>(urlencoded-request-data-limit-exceeded-limit COND) --> *</procedure>
    404403
    405404===== line-limit-exceeded-contents
    406405
    407 <procedure>(line-limit-exceeded-contents COND) => *</procedure>
     406<procedure>(line-limit-exceeded-contents COND) --> *</procedure>
    408407
    409408===== line-limit-exceeded-limit
    410409
    411 <procedure>(line-limit-exceeded-limit COND) => *</procedure>
     410<procedure>(line-limit-exceeded-limit COND) --> *</procedure>
    412411
    413412===== header-error-contents
    414413
    415 <procedure>(header-error-contents COND) => *</procedure>
     414<procedure>(header-error-contents COND) --> *</procedure>
    416415
    417416===== header-limit-exceeded-contents
    418417
    419 <procedure>(header-limit-exceeded-contents COND) => *</procedure>
     418<procedure>(header-limit-exceeded-contents COND) --> *</procedure>
    420419
    421420===== header-limit-exceeded-limit
    422421
    423 <procedure>(header-limit-exceeded-limit COND) => *</procedure>
     422<procedure>(header-limit-exceeded-limit COND) --> *</procedure>
    424423
    425424===== unknown-protocol-line-line
    426425
    427 <procedure>(unknown-protocol-line-line COND) => *</procedure>
     426<procedure>(unknown-protocol-line-line COND) --> *</procedure>
    428427
    429428===== unknown-protocol-major
    430429
    431 <procedure>(unknown-protocol-major COND) => *</procedure>
     430<procedure>(unknown-protocol-major COND) --> *</procedure>
    432431
    433432===== unknown-protocol-minor
    434433
    435 <procedure>(unknown-protocol-minor COND) => *</procedure>
     434<procedure>(unknown-protocol-minor COND) --> *</procedure>
    436435
    437436===== unknown-code-code
    438437
    439 <procedure>(unknown-code-code COND) => *</procedure>
     438<procedure>(unknown-code-code COND) --> *</procedure>
    440439
    441440===== unknown-status-status
    442441
    443 <procedure>(unknown-status-status COND) => *</procedure>
     442<procedure>(unknown-status-status COND) --> *</procedure>
    444443
    445444===== rfc1123-subparser-value?
    446445
    447 <procedure>(rfc1123-subparser-value? COND) => boolean</procedure>
     446<procedure>(rfc1123-subparser-value? COND) --> boolean</procedure>
    448447
    449448===== rfc850-subparser-value?
    450449
    451 <procedure>(rfc850-subparser-value? COND) => boolean</procedure>
     450<procedure>(rfc850-subparser-value? COND) --> boolean</procedure>
    452451
    453452===== asctime-subparser-value?
    454453
    455 <procedure>(asctime-subparser-value? COND) => boolean</procedure>
     454<procedure>(asctime-subparser-value? COND) --> boolean</procedure>
    456455
    457456===== http-date-subparser-value?
    458457
    459 <procedure>(http-date-subparser-value? COND) => boolean</procedure>
     458<procedure>(http-date-subparser-value? COND) --> boolean</procedure>
    460459
    461460===== unencoded-header-value?
    462461
    463 <procedure>(unencoded-header-value? COND) => boolean</procedure>
     462<procedure>(unencoded-header-value? COND) --> boolean</procedure>
    464463
    465464===== username-with-colon-value?
    466465
    467 <procedure>(username-with-colon-value? COND) => boolean</procedure>
     466<procedure>(username-with-colon-value? COND) --> boolean</procedure>
    468467
    469468
     
    488487== Version history
    489488
     489; 1.5.0 : Add types.
    490490; 1.4.2 : Fix #1378
    491491; 1.4.1 : Fix {{write-exn-condition}} call-chain header duplication.
Note: See TracChangeset for help on using the changeset viewer.