Changeset 20889 in project


Ignore:
Timestamp:
10/19/10 08:43:21 (11 years ago)
Author:
Kon Lovett
Message:

Rel 2.1.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/srfi-29

    r19761 r20889  
    1414'''not''' part of this extention.
    1515
    16 === conditions
     16=== Conditions
    1717
    1818==== undefined-condition?
     
    2121
    2222Is the {{OBJECT}} an instance of the SRFI 29 {{undefined-condition}}.
     23
     24A {{composite-property-condition}} of {{(exn srfi-29 undefined)}}.
     25
     26==== unbound-variable-condition?
     27
     28<procedure>(unbound-variable-condition? OBJECT) => boolean</procedure>
     29
     30Is the {{OBJECT}} an instance of the SRFI 29 {{unbound-variable-condition}}.
     31
     32A {{composite-property-condition}} of {{(exn srfi-29 unbound)}}.
    2333
    2434=== Parameters
     
    177187{{PACKAGE-NAME}} in the current locale.
    178188
    179 ==== !localized-template
    180 
    181 <procedure>(!localized-template PACKAGE-NAME TEMPLATE-NAME) => *</procedure>
    182 
    183 Returns the object for the {{TEMPLATE-NAME}} in {{PACKAGE-NAME}}. Otherwise an
    184 exception, {{(exn srfi-29 undefined)}}, is raised.
     189==== required-localized-template
     190
     191<procedure>(required-localized-template PACKAGE-NAME TEMPLATE-NAME) => *</procedure>
     192
     193Returns the object for the {{TEMPLATE-NAME}} in {{PACKAGE-NAME}}. Otherwise a
     194{{undefined-condition}} exception is raised.
    185195
    186196==== localized-template
     
    216226Returns a {{localized-template/default}}-like procedure curried upon the
    217227{{PACKAGE-NAME}}.
     228
     229==== make-required-localized-template
     230
     231<procedure>(make-required-localized-template PACKAGE-NAME) => (procedure (symbol) *)</procedure>
     232
     233Like {{make-localized-template}} but raises an {{undefined-condition}}
     234exception should the package or template be missing.
    218235
    219236==== localized-format
     
    276293=== Exceptions
    277294
    278 * An unknown bundle-specification raises the exception {{(exn srfi-29 undefined)}}.
    279 
    280 * Type exceptions, {{(exn type)}}, are possible.
     295* {{undefined-condition}} Signaled for unknown bundle-specification, package,
     296template.
     297
     298* {{unbound-variable-condition}} Signaled for an unbound reference during
     299''localized code'' resolution.
     300
     301* {{(exn type)}} Signaled for argument type errors.
     302
     303* {{(exn) message = "invalid library load specificiation" arguments = LIBSPEC}}
     304Signaled during ''localized code'' resolution for a bad library load name form.
    281305
    282306
     
    329353== Version history
    330354
     355; 2.1.3 : Added {{unbound-variable-condition?}}. Deprecated {{!localized-template}} & {{make-!localized-template}} in favor of {{required-localized-template}} & {{make-required-localized-template}}.
     356; 2.1.2 :
     357; 2.1.1 :
    331358; 2.1.0 : Added {{undefined-condition?}}, {{!localized-template}}, {{make-localized-template}}, {{make-localized-template/default}}, {{load-localized-compiled-code}}. {{localized-template}} & {{localized-template/default}} now distinguish an undefined template from an undefined package.
    332359; 2.0.1 : Fixs for {{bundle-specifier?}} and {{load-best-available-bundle!}}
Note: See TracChangeset for help on using the changeset viewer.