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

Unified Diff: packages/collection/README.md

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « packages/collection/CHANGELOG.md ('k') | packages/collection/lib/collection.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/collection/README.md
diff --git a/packages/collection/README.md b/packages/collection/README.md
index 73429a5efcbbca49d156ee4dcc9882cb10648d8b..8772e6552a34198f21151b062551385dbe19219c 100644
--- a/packages/collection/README.md
+++ b/packages/collection/README.md
@@ -1,6 +1,4 @@
-#Helper libraries for working with collections.
-
-The `collection` package contains a number of separate libraries
+Contains a number libraries
with utility functions and classes that makes working with collections easier.
## Using
@@ -8,15 +6,19 @@ with utility functions and classes that makes working with collections easier.
The `collection` package can be imported as separate libraries, or
in totality:
- import 'package:collection/algorithms.dart';
- import 'package:collection/equality.dart';
- import 'package:collection/iterable_zip.dart';
- import 'package:collection/priority_queue.dart';
- import 'package:collection/wrappers.dart';
+```dart
+import 'package:collection/algorithms.dart';
+import 'package:collection/equality.dart';
+import 'package:collection/iterable_zip.dart';
+import 'package:collection/priority_queue.dart';
+import 'package:collection/wrappers.dart';
+```
or
- import 'package:collection/collection.dart';
+```dart
+import 'package:collection/collection.dart';
+```
## Algorithms
@@ -41,7 +43,9 @@ that considers two sets equal exactly if they contain identical elements.
The library provides ways to define equalities on `Iterable`s, `List`s, `Set`s,
and `Map`s, as well as combinations of these, such as:
- const MapEquality(const IdentityEquality(), const ListEquality());
+```dart
+const MapEquality(const IdentityEquality(), const ListEquality());
+```
This equality considers maps equal if they have identical keys, and the
corresponding values are lists with equal (`operator==`) values.
@@ -54,7 +58,7 @@ Utilities for "zipping" a list of iterables into an iterable of lists.
## Priority Queue
-An interface and implemention of a priority queue.
+An interface and implementation of a priority queue.
## Wrappers
« no previous file with comments | « packages/collection/CHANGELOG.md ('k') | packages/collection/lib/collection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698