Gozala/streamer — pull request #5 by tonyskn (2011-11-03 07:31:29+00:00)
Title: Fix bug in 'slice'

'next' was executed for every element in source, regardless of range

For example, the following code:
```javascript
var _ = require('./core.js');

var n = function(next) {
[1, 2, 3, 4, 5].forEach(next);
};

_.print(_.head(n, 2));
_.print(_.slice(n, 2, 4));
````
outputs (prior to fix):
````
>>
1
2
<<
3
4
5
>>
3
4
<<
5
```