Changeset 12730 in project


Ignore:
Timestamp:
12/03/08 00:18:54 (11 years ago)
Author:
azul
Message:

More examples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/stream-ext

    r12671 r12730  
    417417will not called at all.
    418418
    419 <enscript highlight=scheme>(with-output-to-stream
    420   (lambda ()
    421     (format #t "Hey!~%")))
    422 => #<stream (#\H #\e #\y #\! #\newline)></enscript>
     419<examples testgroup="stream-xcons" filename="stream-ext">
     420<example>
     421<expr>(with-output-to-stream (lambda () (format #t "hi")))</expr>
     422<result>(stream #\h #\i)</result>
     423<resultcmp>(cut stream= equal? <...>)</resultcmp>
     424</example>
     425</examples>
    423426
    424427Remember that {{proc}} is only executed gradually,
Note: See TracChangeset for help on using the changeset viewer.