Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: packages/quiver/lib/src/iterables/infinite_iterable.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');
« no previous file with comments | « packages/quiver/lib/src/iterables/generating_iterable.dart ('k') | packages/quiver/lib/src/iterables/merge.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698