./devel/ruby-stream, Interface for external iterators

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 0.5.3, Package name: ruby27-stream-0.5.3, Maintainer: minskim

Module 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: 31dc71b6e3e79d13300339a53770ca2a33a2c836
RMD160: 96f66ef2efe7530c20df3e1aad62c5c8e2b0d3a7
Filesize: 15 KB

Version history: (Expand)