[plt-scheme] foldl, map, filter with sequences?

Marek Kubica marek at xivilization.net
Tue Dec 9 14:48:32 EST 2008


On Tue, 9 Dec 2008 12:10:05 +0100
"Jos Koot" <jos.koot at telefonica.net> wrote:

> If I understand well you need port->stream-of-tokens.
> Then you could use stream-fold.
> However, srfi 41 has port->stream, but not port->stream-of-tokens.
> The latter should not take too much work to make by yourself.

Yes, this looks exactly like what I want. I'll take a look at the
implementation of port->stream, shouldn't be too hard. Thanks for
pointing me in the right direction!

regards,
Marek



More information about the plt-scheme mailing list