Changeset 8526 in project


Ignore:
Timestamp:
02/17/08 14:34:31 (12 years ago)
Author:
azul
Message:

Tweaks for more semantics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/stream-ext

    r4251 r8526  
    2222== Constructors
    2323
    24 === stream-xcons
    25 
    26  [procedure] (stream-xcons a b)
    27 
     24<procedure name="stream-xcons" params="a b" returns="stream">
    2825Of utility only as a value to be conveniently passed to higher-order procedures.
    2926
    30 Examples:
    31 
    32 <enscript highlight=scheme>(stream-xcons (stream 'b 'c) 'a)
    33 => #<stream (a b c)></enscript>
     27<examples>
     28<expr>(stream-xcons (stream 'b 'c) 'a)</expr>
     29<result>#<stream (a b c)></result>
     30<expr>(stream-xcons (stream 2 3 4) 1)</expr>
     31<result>#<stream 1 2 3 4></result>
     32</examples>
    3433
    3534The name stands for "eXchanged CONS."
     35</procedure>
    3636
    3737=== stream-cons*
Note: See TracChangeset for help on using the changeset viewer.