| Index: packages/quiver/lib/src/iterables/infinite_iterable.dart
|
| diff --git a/packages/quiver/lib/src/iterables/infinite_iterable.dart b/packages/quiver/lib/src/iterables/infinite_iterable.dart
|
| index cfe0bd2cf21b65e7795f357b4689683dfed15cb8..2a7eb9c05f6a3ee467f4b7609558d622ed23692b 100644
|
| --- a/packages/quiver/lib/src/iterables/infinite_iterable.dart
|
| +++ b/packages/quiver/lib/src/iterables/infinite_iterable.dart
|
| @@ -14,10 +14,9 @@
|
|
|
| part of quiver.iterables;
|
|
|
| -/**
|
| - * A base class for [Iterable]s of infinite length that throws
|
| - * [UnsupportedError] for methods that would require the Iterable to terminate.
|
| - */
|
| +/// A base class for [Iterable]s of infinite length that throws
|
| +/// [UnsupportedError] for methods that would require the Iterable to
|
| +/// terminate.
|
| abstract class InfiniteIterable<T> extends IterableBase<T> {
|
| bool get isEmpty => false;
|
|
|
| @@ -31,7 +30,7 @@ abstract class InfiniteIterable<T> extends IterableBase<T> {
|
|
|
| bool every(bool f(T element)) => throw new UnsupportedError('every');
|
|
|
| - bool fold(initialValue, combine(previousValue, T element)) =>
|
| + T1 fold<T1>(T1 initialValue, T1 combine(T1 previousValue, T element)) =>
|
| throw new UnsupportedError('fold');
|
|
|
| void forEach(void f(T element)) => throw new UnsupportedError('forEach');
|
|
|