[self-interest] [Ann] A simple streaming framework

Jecel Assumpcao Jr. jecel at merlintec.com
Wed Jun 15 21:08:47 UTC 2016


you might find the stream framework that Craig Latta created for
Smalltalk (also called "Flow" - great minds think alike) interesting:


In the book "Little Smalltalk", Tim Budd mentions that his generators
were composable unlike Smalltalk-80's streams

> http://sdmeta.gforge.inria.fr/FreeBooks/LittleSmalltalk/ALittleSmalltalk.pdf

Chapter 8 explains that generators use the protocol #first and #next.
Streams use #next and #atEnd instead, but they can have nil as an
element while generators can't.

-- Jecel

More information about the Self-interest mailing list