Changeset 35296 in project


Ignore:
Timestamp:
03/15/18 18:08:24 (2 years ago)
Author:
Kon Lovett
Message:

=> -> ->, parameter result type

File:
1 edited

Legend:

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

    r35222 r35296  
    1818==== undefined-condition?
    1919
    20 <procedure>(undefined-condition? OBJECT) => boolean</procedure>
     20<procedure>(undefined-condition? OBJECT) -> boolean</procedure>
    2121
    2222Is the {{OBJECT}} an instance of the SRFI 29 {{undefined-condition}}.
     
    2626==== unbound-variable-condition?
    2727
    28 <procedure>(unbound-variable-condition? OBJECT) => boolean</procedure>
     28<procedure>(unbound-variable-condition? OBJECT) -> boolean</procedure>
    2929
    3030Is the {{OBJECT}} an instance of the SRFI 29 {{unbound-variable-condition}}.
     
    3636==== current-language
    3737
    38 <parameter>(current-language [LANGUAGE])</parameter>
     38<parameter>(current-language [LANGUAGE]) -> symbol</parameter>
    3939
    4040Gets or sets the {{LANGUAGE}} symbol.
     
    4242==== current-country
    4343
    44 <parameter>(current-country [COUNTRY])</parameter>
     44<parameter>(current-country [COUNTRY]) -> symbol</parameter>
    4545
    4646Gets or sets the {{COUNTRY}} symbol.
     
    4848==== current-locale-details
    4949
    50 <parameter>(current-locale-details [LOCALE-DETAILS])</parameter>
     50<parameter>(current-locale-details [LOCALE-DETAILS]) -> list</parameter>
    5151
    5252Gets or sets the {{LOCALE-DETAILS}} list.
     
    5454==== current-locale-format-function
    5555
    56 <parameter>(current-locale-format-function [FORMAT-PROCEDURE])</parameter>
     56<parameter>(current-locale-format-function [FORMAT-PROCEDURE]) -> procedure</parameter>
    5757
    5858Gets or sets the {{FORMAT-PROCEDURE}}.
     
    6565<procedure>(reset-locale-parameters)</procedure>
    6666
    67 When the {{current-locale}} is changed, (see the [[locale|locale egg]]),
     67When the {{current-locale}} is changed (see the [[locale|locale egg]])
    6868the {{current-*}} parameters need not be set individually. This will
    69 update those parameters to the values in the new locale. (Reset as in set
    70 anew.)
     69update those parameters to the values in the new locale.
     70
     71''Reset'' as in set anew.
    7172
    7273=== Bundle Operations
     
    165166==== declared-bundle-specifiers
    166167
    167 <procedure>(declared-bundle-specifiers) => list</procedure>
     168<procedure>(declared-bundle-specifiers) -> list</procedure>
    168169
    169170Returns a list of all the declared {{BUNDLE-SPECIFIER}}s.
     
    171172==== declared-bundle-templates
    172173
    173 <procedure>(declared-bundle-templates BUNDLE-SPECIFIER) => list</procedure>
     174<procedure>(declared-bundle-templates BUNDLE-SPECIFIER) -> list</procedure>
    174175
    175176Returns an alist of all the templates for the {{BUNDLE-SPECIFIER}}.
     
    177178==== most-specific-bundle-specifier
    178179
    179 <procedure>(most-specific-bundle-specifier PACKAGE-NAME) => bundle-specifier</procedure>
     180<procedure>(most-specific-bundle-specifier PACKAGE-NAME) -> bundle-specifier</procedure>
    180181
    181182Returns the most specific bundle specifier for the current locale.
     
    194195==== required-localized-template
    195196
    196 <procedure>(required-localized-template PACKAGE-NAME TEMPLATE-NAME) => *</procedure>
     197<procedure>(required-localized-template PACKAGE-NAME TEMPLATE-NAME) -> *</procedure>
    197198
    198199Returns the object for the {{TEMPLATE-NAME}} in {{PACKAGE-NAME}}. Otherwise a
     
    201202==== localized-template
    202203
    203 <procedure>(localized-template PACKAGE-NAME TEMPLATE-NAME [PACKAGE-NOT-FOUND [TEMPLATE-NOT-FOUND]]) => *</procedure>
     204<procedure>(localized-template PACKAGE-NAME TEMPLATE-NAME [PACKAGE-NOT-FOUND [TEMPLATE-NOT-FOUND]]) -> *</procedure>
    204205
    205206Returns the object for the {{TEMPLATE-NAME}} in {{PACKAGE-NAME}}. Otherwise the
     
    210211==== localized-template/default
    211212
    212 <procedure>(localized-template/default PACKAGE-NAME TEMPLATE-NAME [PACKAGE-NOT-FOUND [TEMPLATE-NOT-FOUND]]) => *</procedure>
     213<procedure>(localized-template/default PACKAGE-NAME TEMPLATE-NAME [PACKAGE-NOT-FOUND [TEMPLATE-NOT-FOUND]]) -> *</procedure>
    213214
    214215Returns {{(localized-template PACKAGE-NAME TEMPLATE-NAME PACKAGE-NOT-FOUND TEMPLATE-NOT-FOUND)}}.
     
    220221==== make-localized-template
    221222
    222 <procedure>(make-localized-template PACKAGE-NAME) => (procedure (symbol #!optional * *) *)</procedure>
     223<procedure>(make-localized-template PACKAGE-NAME) -> (procedure (symbol #!optional * *) *)</procedure>
    223224
    224225Returns a {{localized-template}}-like procedure curried upon the
     
    227228==== make-localized-template/default
    228229
    229 <procedure>(make-localized-template/default PACKAGE-NAME) => (procedure (symbol #!optional * *) *)</procedure>
     230<procedure>(make-localized-template/default PACKAGE-NAME) -> (procedure (symbol #!optional * *) *)</procedure>
    230231
    231232Returns a {{localized-template/default}}-like procedure curried upon the
     
    234235==== make-required-localized-template
    235236
    236 <procedure>(make-required-localized-template PACKAGE-NAME) => (procedure (symbol) *)</procedure>
     237<procedure>(make-required-localized-template PACKAGE-NAME) -> (procedure (symbol) *)</procedure>
    237238
    238239Like {{make-localized-template}} but raises an {{undefined-condition}}
     
    241242==== localized-format
    242243
    243 <procedure>(localized-format PACKAGE-NAME TEMPLATE-NAME ARG0...) => string</procedure>
     244<procedure>(localized-format PACKAGE-NAME TEMPLATE-NAME ARG0...) -> string</procedure>
    244245
    245246Returns the formatted string using the {{(current-locale-format-function)}} and
     
    255256==== localized-template-set!
    256257
    257 <procedure>(localized-template-set! PACKAGE-NAME TEMPLATE-NAME VALUE) => boolean</procedure>
     258<procedure>(localized-template-set! PACKAGE-NAME TEMPLATE-NAME VALUE) -> boolean</procedure>
    258259
    259260Creates or updates the {{VALUE}} for the {{TEMPLATE-NAME}} in {{PACKAGE-NAME}}
     
    265266==== localized-templates
    266267
    267 <procedure>(localized-templates PACKAGE-NAME) => list</procedure>
     268<procedure>(localized-templates PACKAGE-NAME) -> list</procedure>
    268269
    269270Returns an alist of all the templates for the {{PACKAGE-NAME}}.
     
    274275
    275276Loads a Scheme code library and replaces the toplevel variable references from
    276 the templates with the actual value. Each item {{package-name+template-name}}
     277the templates with the actual value. Each item {{package-name template-name}}
    277278has a variable reference upon entry. Upon exit this is replaced with the
    278279variable value after load.
    279280
    280 Every item {{package-name+template-name}} referenced '''must''' be defined.
     281Every item {{package-name template-name}} referenced '''must''' be defined.
    281282Otherwise a {{(exn srfi-29 undefined)}} exception if raised.
    282283
     
    368369
    369370[[test|test]]
     371
    370372[[setup-helper|setup-helper]]
    371373
Note: See TracChangeset for help on using the changeset viewer.