Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-stream
From: Min Sik Kim
Date: 2006-05-04 03:29:57
Message id: 20060504012957.A6E182DA27@cvs.netbsd.org
Log Message:
Import ruby-stream.
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.
Files: