Path to this page:
./
devel/ruby-stream,
Interface for external iterators
Branch: pkgsrc-2010Q3,
Version: 0.5nb1,
Package name: ruby18-stream-0.5nb1,
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.
Required to run:[
lang/ruby18-base]
Master sites:
SHA1: 5a6b14f9b6800003b006a98412d83b839f2c3af7
RMD160: 74356b4724e6e3bfad85ccf871c05a9015c4d06e
Filesize: 18.802 KB
Version history: (Expand)
- (2010-10-17) Package added to pkgsrc.se, version ruby18-stream-0.5nb1 (created)