Y
Hacker News
new
|
ask
|
show
|
jobs
by
keithalewis
581 days ago
This seems to make the mistake of identifying a vector with a stream.
1 comments
rebanevapustus
581 days ago
In this implementation streams are not vectors nor lists. They are ordered hash maps.
link
keithalewis
580 days ago
Just pointing out what the theoretical documentation says. A stream should have operations for empty, current, and next. You don't want implementation details leaking into the abstract model.
link