Merge: Make stream and iterators withable
authorJean Privat <jean@pryen.org>
Mon, 28 Sep 2015 14:36:59 +0000 (10:36 -0400)
committerJean Privat <jean@pryen.org>
Mon, 28 Sep 2015 14:36:59 +0000 (10:36 -0400)
As I wanted to use the `with` statement on Iterators in order to experiment with #1735, I realized that neither them not stream are usable with `with` since they lack the required methods.

Pull-Request: #1742
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

1  2 
lib/core/stream.nit

Simple merge