2 summary:: stream modified by a unary operator
3 related:: Classes/BinaryOpStream, Classes/NAryOpStream
4 categories:: Streams-Patterns-Events
8 A UnaryOpStream is created as a result of a unary math operation on a Stream. It is defined to respond to strong::next:: by returning the result of the math operation on the strong::next:: value from the stream. It responds to strong::reset:: by resetting the Stream.
13 x = Routine { 6.do { arg i; i.yield; } }.squared;
19 x = Routine { 6.do { arg i; i.yield; } }.squared;