Changeset 7996 in project


Ignore:
Timestamp:
01/31/08 01:38:14 (12 years ago)
Author:
Kon Lovett
Message:

Use of enscript & diff indent.

Location:
release/3/procedure-decoration
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/3/procedure-decoration/tags/1.0/procedure-decoration.wiki

    r7989 r7996  
    22[[toc:]]
    33
    4 == procedure-decoration
    5 
    6 
    7 === Introduction
     4== Introduction
    85
    96{{Chicken Scheme}} procedures have attributes, aspects of the procedure object
     
    1310
    1411
    15 === Usage
     12== Usage
    1613
    1714(require-extension procedure-decoration)
    1815
    1916
    20 === Documentation
     17== Documentation
    2118
    2219An interface for procedure decoration. Similar to the lolevel unit
     
    2421
    2522
    26 === Lambda Decoration Interface
     23== Lambda Decoration Interface
    2724
    2825A lower level interface for procedure decoration.
     
    3633decoration.
    3734
    38 ==== decorate-lambda
     35=== decorate-lambda
    3936
    4037  [procedure] (decorate-lambda PROCEDURE PREDICATE DECORATOR)
     
    4542Returns the decorated procedure.
    4643
    47 ==== decorated-lambda?
     44=== decorated-lambda?
    4845
    4946  [procedure] (decorated-lambda? PROCEDURE PREDICATE)
     
    5148Is the {{PROCEDURE}} decorated per the {{PREDICATE}}?
    5249
    53 ==== lambda-decoration
     50=== lambda-decoration
    5451
    5552  [procedure] (lambda-decoration PROCEDURE PREDICATE)
    5653
    57 ==== set-lambda-decoration!
     54=== set-lambda-decoration!
    5855
    5956  [procedure] (set-lambda-decoration! PROCEDURE PREDICATE DECORATOR)
     
    6663
    6764
    68 === Procedure Decorator Interface
     65== Procedure Decorator Interface
    6966
    7067A more sophisticated interface for procedure decoration.
    7168
    72 ==== make-procedure-decorator
     69=== make-procedure-decorator
    7370
    7471  [procedure] (make-procedure-decorator PREDICATE DECORATOR RETRIEVER [#:INITIALIZER] [#:INITIAL-VALUE] [#:BECOME?])
     
    107104procedure will be rewritten. The default is {{#f}}.
    108105
    109 ==== procedure-decorator?
     106=== procedure-decorator?
    110107
    111108  [procedure] (procedure-decorator? OBJECT)
     
    113110Is the {{OBJECT}} a {{procedure-decorator}}?
    114111
    115 ==== decorate-procedure
     112=== decorate-procedure
    116113
    117114  [procedure] (decorate-procedure PROCEDURE PROCEDURE-DECORATOR [ARGUMENTS ...])
     
    129126Returns the decorated procedure.
    130127
    131 ==== decorated-procedure?
     128=== decorated-procedure?
    132129
    133130  [procedure] (decorated-procedure? PROCEDURE PROCEDURE-DECORATOR)
     
    135132Is the {{PROCEDURE}} a decorated by {{PROCEDURE-DECORATOR}}?
    136133
    137 ==== procedure-decoration
     134=== procedure-decoration
    138135
    139136  [procedure] (procedure-decoration PROCEDURE PROCEDURE-DECORATOR [ARGUMENTS ...])
     
    143140The optional {{ARGUMENTS}} are passed to the {{PROCEDURE-DECORATOR}} {{RETRIEVER}}.
    144141
    145 ==== procedure-decorator-getter-and-setter
     142=== procedure-decorator-getter-and-setter
    146143
    147144  [procedure] (procedure-decorator-getter-and-setter PROCEDURE-DECORATOR)
     
    154151
    155152
    156 === Procedure Extender
     153== Procedure Extender
    157154
    158155Not to be confused with the lolevel unit {{extend-procedure}} interface.
    159156
    160 ==== make-procedure-extender
     157=== make-procedure-extender
    161158
    162159  [procedure] (make-procedure-extender TAG)
     
    167164The {{TAG}} may be any object but is usually a {{symbol}}.
    168165
    169 ==== define-procedure-extender
     166=== define-procedure-extender
    170167
    171168  [syntax] (define-procedure-extender TAG [GETTER-NAME] [PREDICATE-NAME])
     
    187184
    188185
    189 === Miscellaneous
    190 
    191 ==== lambda->list
     186== Miscellaneous
     187
     188=== lambda->list
    192189
    193190  [procedure] (lambda->list PROCEDURE [START] [END])
     
    205202
    206203
    207 === Examples
    208 
     204== Examples
     205
     206<enscript language=scheme>
    209207;; Procedure documentation string API
    210208(define-procedure-extender docstring procedure-documentation documented-procedure?)
     
    215213(set! (procedure-documentation test-proc) "test-proc is foo")   ;=>
    216214(procedure-documentation test-proc)                             ;=> "test-proc is foo"
    217 
    218 
    219 === Notes
     215</enscript>
     216
     217== Notes
    220218
    221219The {{decorate-lambda}} interface decorated procedure is not the original
     
    228226
    229227
    230 === Bugs and Limitations
    231 
    232 
    233 === Author
     228== Author
    234229
    235230Kon Lovett
    236231
    237232
    238 === License
     233== License
    239234
    240235Copyright (c) 2008 Kon Lovett.  All rights reserved.
     
    259254
    260255
    261 === Requirements
    262 
    263 
    264 === Version history
     256== Requirements
     257
     258misc-extn
     259
     260
     261== Version history
    265262
    266263; 1.0 :
  • release/3/procedure-decoration/trunk/procedure-decoration.wiki

    r7988 r7996  
    22[[toc:]]
    33
    4 == procedure-decoration
    5 
    6 
    7 === Introduction
     4== Introduction
    85
    96{{Chicken Scheme}} procedures have attributes, aspects of the procedure object
     
    1310
    1411
    15 === Usage
     12== Usage
    1613
    1714(require-extension procedure-decoration)
    1815
    1916
    20 === Documentation
     17== Documentation
    2118
    2219An interface for procedure decoration. Similar to the lolevel unit
     
    2421
    2522
    26 === Lambda Decoration Interface
     23== Lambda Decoration Interface
    2724
    2825A lower level interface for procedure decoration.
     
    3633decoration.
    3734
    38 ==== decorate-lambda
     35=== decorate-lambda
    3936
    4037  [procedure] (decorate-lambda PROCEDURE PREDICATE DECORATOR)
     
    4542Returns the decorated procedure.
    4643
    47 ==== decorated-lambda?
     44=== decorated-lambda?
    4845
    4946  [procedure] (decorated-lambda? PROCEDURE PREDICATE)
     
    5148Is the {{PROCEDURE}} decorated per the {{PREDICATE}}?
    5249
    53 ==== lambda-decoration
     50=== lambda-decoration
    5451
    5552  [procedure] (lambda-decoration PROCEDURE PREDICATE)
    5653
    57 ==== set-lambda-decoration!
     54=== set-lambda-decoration!
    5855
    5956  [procedure] (set-lambda-decoration! PROCEDURE PREDICATE DECORATOR)
     
    6663
    6764
    68 === Procedure Decorator Interface
     65== Procedure Decorator Interface
    6966
    7067A more sophisticated interface for procedure decoration.
    7168
    72 ==== make-procedure-decorator
     69=== make-procedure-decorator
    7370
    7471  [procedure] (make-procedure-decorator PREDICATE DECORATOR RETRIEVER [#:INITIALIZER] [#:INITIAL-VALUE] [#:BECOME?])
     
    107104procedure will be rewritten. The default is {{#f}}.
    108105
    109 ==== procedure-decorator?
     106=== procedure-decorator?
    110107
    111108  [procedure] (procedure-decorator? OBJECT)
     
    113110Is the {{OBJECT}} a {{procedure-decorator}}?
    114111
    115 ==== decorate-procedure
     112=== decorate-procedure
    116113
    117114  [procedure] (decorate-procedure PROCEDURE PROCEDURE-DECORATOR [ARGUMENTS ...])
     
    129126Returns the decorated procedure.
    130127
    131 ==== decorated-procedure?
     128=== decorated-procedure?
    132129
    133130  [procedure] (decorated-procedure? PROCEDURE PROCEDURE-DECORATOR)
     
    135132Is the {{PROCEDURE}} a decorated by {{PROCEDURE-DECORATOR}}?
    136133
    137 ==== procedure-decoration
     134=== procedure-decoration
    138135
    139136  [procedure] (procedure-decoration PROCEDURE PROCEDURE-DECORATOR [ARGUMENTS ...])
     
    143140The optional {{ARGUMENTS}} are passed to the {{PROCEDURE-DECORATOR}} {{RETRIEVER}}.
    144141
    145 ==== procedure-decorator-getter-and-setter
     142=== procedure-decorator-getter-and-setter
    146143
    147144  [procedure] (procedure-decorator-getter-and-setter PROCEDURE-DECORATOR)
     
    154151
    155152
    156 === Procedure Extender
     153== Procedure Extender
    157154
    158155Not to be confused with the lolevel unit {{extend-procedure}} interface.
    159156
    160 ==== make-procedure-extender
     157=== make-procedure-extender
    161158
    162159  [procedure] (make-procedure-extender TAG)
     
    167164The {{TAG}} may be any object but is usually a {{symbol}}.
    168165
    169 ==== define-procedure-extender
     166=== define-procedure-extender
    170167
    171168  [syntax] (define-procedure-extender TAG [GETTER-NAME] [PREDICATE-NAME])
     
    187184
    188185
    189 === Miscellaneous
    190 
    191 ==== lambda->list
     186== Miscellaneous
     187
     188=== lambda->list
    192189
    193190  [procedure] (lambda->list PROCEDURE [START] [END])
     
    205202
    206203
    207 === Examples
    208 
     204== Examples
     205
     206<enscript language=scheme>
    209207;; Procedure documentation string API
    210208(define-procedure-extender docstring procedure-documentation documented-procedure?)
     
    215213(set! (procedure-documentation test-proc) "test-proc is foo")   ;=>
    216214(procedure-documentation test-proc)                             ;=> "test-proc is foo"
    217 
    218 
    219 === Notes
     215</enscript>
     216
     217== Notes
    220218
    221219The {{decorate-lambda}} interface decorated procedure is not the original
     
    228226
    229227
    230 === Bugs and Limitations
    231 
    232 
    233 === Author
     228== Author
    234229
    235230Kon Lovett
    236231
    237232
    238 === License
     233== License
    239234
    240235Copyright (c) 2008 Kon Lovett.  All rights reserved.
     
    259254
    260255
    261 === Requirements
    262 
    263 
    264 === Version history
     256== Requirements
     257
     258misc-extn
     259
     260
     261== Version history
    265262
    266263; 1.0 :
Note: See TracChangeset for help on using the changeset viewer.