Next Previous Up Top Contents Index

5.11 The STREAMS module

type-for-sequence-stream

Open generic function

Summary

Finds the type of sequence-stream class that needs to be instantiated for a given sequence.

Signature

type-for-sequence-stream sequence => sequence-stream-type 

Arguments

sequence
An instance of <sequence>.

Values

sequence-stream-type

An instance of <type>.

Library

io

Module

streams

Description

Returns the sequence-stream class to instantiate over a given sequence object. The method for make on <sequence-stream> calls this function to determine the concrete subclass of <sequence-stream> that it should instantiate.

There are type-for-sequence-stream methods for each of the string object classes. These methods return a stream class object that the Streams module considers appropriate.

See also

make sequence-stream-class, page 76

<sequence-stream>, page 91


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index