Changeset 36709 in project


Ignore:
Timestamp:
10/21/18 20:14:31 (3 weeks ago)
Author:
kon
Message:

fix tree

File:
1 edited

Legend:

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

    r35974 r36709  
    3535{{PROP}} is a {{symbol}}.
    3636
    37 === Usage
     37
     38=== Condition Library
     39
     40==== Usage
    3841
    3942<enscript language=scheme>
     
    4144</enscript>
    4245
    43 === make-condition+
     46==== make-condition+
    4447
    4548<procedure>(make-condition+ CONDITION-SPEC...) --> property-condition</procedure>
     
    4750Returns a {{composite-condition}} {{CONDITION-SPEC...}}.
    4851
    49 === make-condition-predicate
     52==== make-condition-predicate
    5053
    5154<macro>(make-condition-predicate KIND...) --> (procedure (*) boolean)</macro>
     
    5356Returns a {{condition-predicate}} for {{KIND...}}.
    5457
    55 === make-condition-property-accessor
     58==== make-condition-property-accessor
    5659
    5760<macro>(make-condition-property-accessor KIND PROP [DEFAULT]) --> (procedure (*) boolean)</macro>
     
    6063of {{DEFAULT}} is {{#f}}.
    6164
    62 === condition-irritants
     65==== condition-irritants
    6366
    6467<procedure>(condition-irritants CONDITION) --> list</procedure>
     
    7376The properties are without associated condition information.
    7477
    75 === write-condition
     78==== write-condition
    7679
    7780<procedure>(write-condition CONDITION [PORT (current-output-port) [HEADER "Error"]])</procedure>
     
    8386       ... for a composite condition ...
    8487
    85 === condition-predicate*
     88==== condition-predicate*
    8689
    8790<procedure>(condition-predicate* KIND) --> (* -> boolean : condition)</procedure>
     
    8992Returns a "memoized" {{condition-predicate}} for {{KIND}}.
    9093
    91 === condition-property-accessor*
     94==== condition-property-accessor*
    9295
    9396<procedure>(condition-property-accessor* KIND PROP [DEFAULT #f]) --> (condition --> *)</procedure>
     
    98101=== EXN Condition Library
    99102
    100 === Usage
     103==== Usage
    101104
    102105<enscript language=scheme>
     
    104107</enscript>
    105108
    106 === make-exn-condition
     109==== make-exn-condition
    107110
    108111<procedure>(make-exn-condition [LOC [MSG [ARGS [CALL-CHAIN]]]]) --> property-condition</procedure>
     
    120123Will always include {{message}} property in the {{property-condition}}.
    121124
    122 === make-exn-condition+
     125==== make-exn-condition+
    123126
    124127<procedure>(make-exn-condition+ LOC MSG ARGS [CALL-CHAIN] [CONDITION-SPEC...]) --> property-condition</procedure>
     
    132135When {{MSG}} is {{#f}} the value {{"unknown"}} is used.
    133136
    134 === write-exn-condition
     137==== write-exn-condition
    135138
    136139<procedure>(write-exn-condition CONDITION [PORT (current-output-port) [HEADER "Error" [CHAIN-HEADER "\n\tCall history:\n"]]])</procedure>
Note: See TracChangeset for help on using the changeset viewer.