quiver_iterables 1.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 80

Quiver Iterables

A collection of utilities for generating and manipulating Dart Iterables.

Build Status Coverage Status

Documentation

API Docs

concat, count, cycle, enumerate, merge, partition, range, and zip create, transform, or combine Iterables in different ways, similar to Python's itertools.

min, max, and extent retrieve the minimum and maximum elements from an iterable.

GeneratingIterable is an easy way to create lazy iterables that produce elements by calling a function. A common use-case is to traverse properties in an object graph, like the parent relationship in a tree.

InfiniteIterable is a base class for Iterables that throws on operations that require a finite length.

1.0.1 - 2017-09-07

  • Apply function generics across the package. From @jackd.
  • Add @alwaysThrows annotations where applicable. From @jackd.

1.0.0+1 - 2017-09-07

  • Strong-mode fix in InfiniteIterable.fold(), from @giorgiofran.

1.0.0-dev.1

  • Split from quiver-dart

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  quiver_iterables: "^1.0.1"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:quiver_iterables/iterables.dart';
        
Version Uploaded Documentation Archive
1.0.1 Sep 7, 2017 Go to the documentation of quiver_iterables 1.0.1 Download quiver_iterables 1.0.1 archive
1.0.0+1 Sep 7, 2017 Go to the documentation of quiver_iterables 1.0.0+1 Download quiver_iterables 1.0.0+1 archive
1.0.0 Jan 13, 2016 Go to the documentation of quiver_iterables 1.0.0 Download quiver_iterables 1.0.0 archive
1.0.0-dev.1 Nov 18, 2015 Go to the documentation of quiver_iterables 1.0.0-dev.1 Download quiver_iterables 1.0.0-dev.1 archive

Analysis

This feature is new.
We welcome feedback.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Dec 6, 2017
  • Dart: 2.0.0-dev.8.0
  • pana: 0.7.3+1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
60
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall score:
Weighted score of the above. [more]
80

Platforms

Detected platforms: Flutter, server, web

All libraries agree

Suggestions

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
meta ^1.1.0 1.1.2
Dev dependencies
test >=0.12.0 <0.13.0