nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added 'create_thread' function to enable thread creation after a exit.
[nit.git]
/
lib
/
pipeline.nit
diff --git
a/lib/pipeline.nit
b/lib/pipeline.nit
index
055823f
..
0c422ed
100644
(file)
--- a/
lib/pipeline.nit
+++ b/
lib/pipeline.nit
@@
-99,7
+99,7
@@
redef interface Iterator[E]
#
# var i = [1,2,3,4,5].iterator
# assert i.head(2).to_a == [1,2]
- # i.to_a == [3,4,5]
+ # assert i.to_a == [3,4,5]
fun head(length: Int): Iterator[E]
do
return new PipeHead[E](self, length)