aboutsummaryrefslogtreecommitdiff
path: root/std/default/iterators.pk
diff options
context:
space:
mode:
Diffstat (limited to 'std/default/iterators.pk')
-rw-r--r--std/default/iterators.pk4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/default/iterators.pk b/std/default/iterators.pk
index f97c61a..f7e4972 100644
--- a/std/default/iterators.pk
+++ b/std/default/iterators.pk
@@ -21,11 +21,11 @@ pub func get[T](self: Iter[T], at: uint): Option[T]
# todo: implement iter[T](self: ...): Iter[T] funcs
# todo: efficient functional methods
-## The Peek interface. Any type implementing Iter, `peek`, and `peek_nth` is peekable.
+## The Peek interface. Any type implementing `Iter`, `peek`, and `peek_nth` is peekable.
pub type Peek[T] = interface
next(mut Self): Option[T]
peek(mut Self): Option[T]
- peek_nth(mut Self, n: uint): Option[T]
+ peek_nth(mut Self, int): Option[T]
# todo: implement peek[T](self: Iter[T]): Peek[T]
# todo: implement Peekable struct