A note I posted to the Ikarus list:
http://ikarus-scheme.org/pipermail/ikarus-users/2010-February/000792.html
I'm interested in ideas from folks here as well.
Ed
Congratulations!
Very nice work, but it will be better if on a pastebin, that have
syntax highlighting. ;)
Thanks! It's just a sketch though, exploring the territory.
Here's another approach that is a bit more lightweight, using functors
but without the protocol abstraction:
Those functors are for "indexable" sequences (i.e. vectors, strings,
bytevectors).
Ed
Very nice!
Here's a similar set of functors for 'iterable' sequences:
I define some procedures for basic lists as well as the random access
lists provided by SRFI-101.
Ed
The '(sequences f32-vectors)' library provides an example of an
indexable sequence.
Ed