Next: Random numbers
Up: Input/output
Previous: Streams
Index
In indexed-stream.diesel:
Stream views of indexed collections are fully positionable, but
not insertable, extensible, or removable. (Stream views of arrays
could be made extensible.)
module IndexedStreamView;
class indexed_stream_view[T] isa positionable_stream[T];
class m_indexed_stream_view[T] isa m_positionable_stream[T],
indexed_stream_view[T];
end module IndexedStreamView;
In list-stream.diesel:
Stream views of lists are not positionable or extensible but are
insertable and removable.
module ListStreamView;
class list_stream_view[T] isa m_stream[T],
removable_stream[T], insertable_stream[T];
class m_list_stream_view[T] isa list_stream_view[T];
end module ListStreamView;
In string-stream.diesel:
module StringStream;
fun new_string_stream(s:string):positionable_stream[char];
Next: Random numbers
Up: Input/output
Previous: Streams
Index
Cecil/Vortex Project