Changeset 20648 in project


Ignore:
Timestamp:
10/04/10 19:16:42 (11 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [83.135.30.135]: remove enclosing from syntax definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/3/loopy-loop

    r19149 r20648  
    162162==== in-list
    163163
    164  '''syntax:''' (<element> [<pair>] <- in-list <list> [<cdr> [<null?>]])
     164 syntax: (<element> [<pair>] <- in-list <list> [<cdr> [<null?>]])
    165165
    166166Iterates over the successive elements of a list.
     
    194194==== in-lists
    195195
    196  '''syntax:''' (<elements> [<pairs>] <- in-lists <lol> [<cdr> [<null?>]])
     196 syntax: (<elements> [<pairs>] <- in-lists <lol> [<cdr> [<null?>]])
    197197
    198198Iterate over a list of lists.  <elements> is bound to the heads of
     
    209209==== in-string / in-string-reverse
    210210
    211  '''syntax:''' (<element> [<index>] <- in-string <str> [<start> [<end> [<step>]]])
    212  '''syntax:''' (<element> [<index>] <- in-string-reverse <str> [<start> [<end> [<step>]]])
     211 syntax: (<element> [<index>] <- in-string <str> [<start> [<end> [<step>]]])
     212 syntax: (<element> [<index>] <- in-string-reverse <str> [<start> [<end> [<step>]]])
    213213
    214214Iterate over the characters of a string.  Proceeds from <start>,
     
    229229==== in-vector / in-vector-reverse
    230230
    231  '''syntax:''' (<element> [<index>] <- in-vector <vec> [<start> [<end> [<step>]]])
    232  '''syntax:''' (<element> [<index>] <- in-vector-reverse <vec> [<start> [<end> [<step>]]])
     231 syntax: (<element> [<index>] <- in-vector <vec> [<start> [<end> [<step>]]])
     232 syntax: (<element> [<index>] <- in-vector-reverse <vec> [<start> [<end> [<step>]]])
    233233
    234234Analogues of the string iterators, but for vectors.  Note also all of the
     
    237237==== in-port / in-file
    238238
    239  '''syntax:''' (<datum> <- in-port [<port> [<reader> [<eof?>]]])
    240  '''syntax:''' (<datum> <- in-file <path> [<reader> [<eof?>]])
     239 syntax: (<datum> <- in-port [<port> [<reader> [<eof?>]]])
     240 syntax: (<datum> <- in-file <path> [<reader> [<eof?>]])
    241241
    242242Iterate over data read from a port, defaulting to (CURRENT-INPUT-PORT)
     
    272272==== in-range / in-range-reverse
    273273
    274  '''syntax:''' (<number> <- in-range [[<from>] <to> [<step>]])
    275  '''syntax:''' (<number> <- in-range-reverse [[<from>] <to> [<step>]])
     274 syntax: (<number> <- in-range [[<from>] <to> [<step>]])
     275 syntax: (<number> <- in-range-reverse [[<from>] <to> [<step>]])
    276276
    277277Step through the real numbers beginning with <from> (default 0), until
     
    286286==== in-random
    287287
    288  '''syntax:''' (<number> <- in-random [<range> [<low>]])
     288 syntax: (<number> <- in-random [<range> [<low>]])
    289289
    290290With no arguments, <number> is bound to a random inexact number
     
    302302==== in-random-element
    303303
    304  '''syntax:''' (<element> <- in-random-element <vector-or-list>)
     304 syntax: (<element> <- in-random-element <vector-or-list>)
    305305
    306306On each iteration, <element> is bound a random object uniformly
     
    311311==== in-permutations
    312312
    313  '''syntax:''' (<perm> <- in-permutations <list> [<n>])
     313 syntax: (<perm> <- in-permutations <list> [<n>])
    314314
    315315With one argument, <perm> is bound to the successive permutations of
     
    334334==== in-combinations
    335335
    336  '''syntax:''' (<comb> <- in-combinations <list> <n>)
     336 syntax: (<comb> <- in-combinations <list> <n>)
    337337
    338338Similar to IN-PERMUTATIONS, but iterates over all combinations of <n>
     
    351351==== in-cartesian-product
    352352
    353  '''syntax:''' (<list> <- in-cartesian-product <list-of-lists>)
     353 syntax: (<list> <- in-cartesian-product <list-of-lists>)
    354354
    355355Iterates over the full cartesian product (all joins) of
     
    369369==== in-hash-table
    370370
    371  '''syntax:''' (<key> <value> <- in-hash-table <table>)
     371 syntax: (<key> <value> <- in-hash-table <table>)
    372372
    373373Iterate over the <key> and <value> pairs of a hash-table <table>.  The
     
    389389==== collecting
    390390
    391  '''syntax:''' (<list> [<rev>] <- collecting <expr> [<cons> [<finalize> [<init>]]])
     391 syntax: (<list> [<rev>] <- collecting <expr> [<cons> [<finalize> [<init>]]])
    392392
    393393The only of the standard iterators that introduces a final variable.
Note: See TracChangeset for help on using the changeset viewer.