more 1.11.1 copy "more: ^1.11.1" to clipboard
more: ^1.11.1 copied to clipboard

outdated

More Dart — Literally. Collecting, iterating, caching, mathematics, matching, ordering, and formatting easily.

More Dart — Literally #

Pub Package Build Status Coverage Status GitHub Issues GitHub Forks GitHub Stars GitHub License

Various extensions that make Dart a better place:

  • cache.dart is a collection of different caching strategies and their expiry policy.
  • char_matcher.dart is a model for character classes, their composition and operations on strings.
  • collection.dart is a collection of collection types (bi map, bit list, multi set, range, and string).
  • fraction.dart provides exact rational number arithmetic.
  • int_math.dart is a collection of common mathematical functions on integers.
  • iterable.dart is a collection of iterables and iterators.
  • ordering.dart a fluent interface for building comparator functions.
  • printer.dart a fluent interface for configuring sophisticated formatter.

And there are more to come ...

This library is open source, stable and well tested. Development happens on GitHub. Feel free to report issues or create a pull-request there. General questions are best asked on StackOverflow.

The package is hosted on dart packages. Up-to-date class documentation is created with every release.

Misc #

Installation #

Follow the installation instructions on dart packages.

Import one or more of the packages into your Dart code using:

import 'package:more/cache.dart';
import 'package:more/char_matcher.dart';
import 'package:more/collection.dart';
import 'package:more/fraction.dart';
import 'package:more/int_math.dart';
import 'package:more/iterable.dart';
import 'package:more/ordering.dart';
import 'package:more/printer.dart';

History #

This library started in April 2013 as I was working through the puzzles of Project Euler and encountered some missing features in Dart. Over time the library grew and became more useful in many other places, so I created this reusable library.

License #

The MIT License, see LICENSE.

66
likes
0
pub points
87%
popularity

Publisher

verified publisherlukas-renggli.ch

More Dart — Literally. Collecting, iterating, caching, mathematics, matching, ordering, and formatting easily.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on more