Path to this page:
./
devel/ruby-stream,
Interface for external iterators
Branch: pkgsrc-2007Q4,
Version: 0.5,
Package name: ruby18-stream-0.5,
Maintainer: minskimModule Stream defines an interface for external iterators. A stream
can be seen as an iterator on a sequence of objects x1, ..., xn. The
state of the stream is uniquely determined by the following methods:
at_beginning?, at_end?, current, and peek. State changes are done
with the following operations: set_to_begin, set_to_end, forward, and
backward.
Master sites:
SHA1: 4c2ec418e978d126ba2556a727b258e3ab55c2ee
RMD160: 019d3c671aaf80866bc085aad735f951622c23b0
Filesize: 11.36 KB
Version history: (Expand)
- (2008-01-12) Package added to pkgsrc.se, version ruby18-stream-0.5 (created)