Changeset 12883 in project


Ignore:
Timestamp:
12/26/08 16:16:33 (11 years ago)
Author:
azul
Message:

Reverting incorrect changes to the examples tags for this file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/stream-ext

    r12880 r12883  
    5454
    5555<examples testgroup="stream-xcons" filename="stream-ext">
    56 <examples><example>
     56<example>
    5757<expr>(stream-xcons (stream 2 3) 1)</expr>
    5858<result>(stream 1 2 3)</result>
    5959<resultcmp>(cut stream= equal? <...>)</resultcmp>
    60 </example></examples>
    61 <examples><example>
     60</example>
     61<example>
    6262<expr>(stream-xcons (stream 2 3 4) 1)</expr>
    6363<result>(stream 1 2 3 4)</result>
    6464<resultcmp>(cut stream= = <...>)</resultcmp>
    65 </example></examples>
     65</example>
    6666</examples>
    6767
     
    8080
    8181<examples testgroup="stream-cons*" filename="stream-ext">
    82 <examples><example>
     82<example>
    8383<expr>(stream-cons* 1 2 3 (stream 4))</expr>
    8484<result>(stream 1 2 3 4)</result>
    8585<resultcmp>(cut stream= = <...>)</resultcmp>
    86 </example></examples>
    87 <examples><example>
     86</example>
     87<example>
    8888<expr>(stream-cons* (stream 4))</expr>
    8989<result>(stream 4)</result>
    9090<resultcmp>(cut stream= = <...>)</resultcmp>
    91 </example></examples>
     91</example>
    9292</examples>
    9393
     
    111111
    112112<examples testgroup="make-stream" filename="stream-ext">
    113 <examples><example>
     113<example>
    114114<expr>(make-stream 4 0)</expr>
    115115<result>(stream 0 0 0 0)</result>
    116116<resultcmp>(cut stream= = <...>)</resultcmp>
    117 </example></examples>
     117</example>
    118118</examples>
    119119
     
    133133
    134134<examples testgroup="make-stream" filename="stream-ext">
    135 <examples><example>
     135<example>
    136136<expr>(stream-tabulate 4 (lambda (x) (* x x)))</expr>
    137137<result>(stream 0 4 9 16)</result>
    138138<resultcmp>(cut stream= = <...>)</resultcmp>
    139 </example></examples>
     139</example>
    140140</examples>
    141141
     
    165165
    166166<examples testgroup="stream-iota" filename="stream-ext">
    167 <examples><example>
     167<example>
    168168<expr>(stream-iota 5)</expr>
    169169<result>(stream 0 1 2 3 4)</result>
    170170<resultcmp>(cut stream= = <...>)</resultcmp>
    171 </example></examples>
    172 <examples><example>
     171</example>
     172<example>
    173173<expr>(stream-iota 5 0 -0.1)</expr>
    174174<result>(stream 0 -0.1 -0.2 -0.3 -0.4)</result>
    175175<resultcmp>(cut stream= = <...>)</resultcmp>
    176 </example></examples>
     176</example>
    177177</examples>
    178178
     
    418418
    419419<examples testgroup="stream-xcons" filename="stream-ext">
    420 <examples><example>
     420<example>
    421421<expr>(with-output-to-stream (lambda () (format #t "hi")))</expr>
    422422<result>(stream #\h #\i)</result>
    423423<resultcmp>(cut stream= equal? <...>)</resultcmp>
    424 </example></examples>
     424</example>
    425425</examples>
    426426
     
    454454<examples testgroup='with-input-from-stream' filename='stream-ext'>
    455455
    456 <examples><example>
     456<example>
    457457<expr>(with-input-from-stream (stream #\" #\a #\b #\c #\") read)</expr>
    458458<result>"abc"</result>
    459 </example></examples>
     459</example>
    460460
    461461</examples>
Note: See TracChangeset for help on using the changeset viewer.