functional_collections 0.3.0
functional_collections: ^0.3.0 copied to clipboard

Functional collections are immutable, adding or removing items efficiently creates a new collection. You can choose from: `FOption`, `FList`, `FSet`, `FMap`, `FTuple`.

1
likes
90 / 130
pub points
0 %
popularity

We analyzed this package on May 8, 2021, and awarded it 90 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

0/10 points: 20% or more of the public API has dartdoc comments

  • 19 out of 98 API elements (19.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

INFO: 'List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.

lib/src/hamt.dart:68:19

   ╷
68 │     final array = List(keyVals.length);
   │                   ^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/hamt.dart

INFO: DO use curly braces for all flow control structures.

lib/src/list.dart:53:51

   ╷
53 │       while (left.moveNext() && right.moveNext()) if (left.current != right.current) return false;
   │                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/list.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Support sound null safety
0 / 20

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.3.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.16.0, Dart 2.12.4.

1
likes
90
pub points
0%
popularity

Functional collections are immutable, adding or removing items efficiently creates a new collection. You can choose from: `FOption`, `FList`, `FSet`, `FMap`, `FTuple`.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

svarzee@gmail.com

License

BSD (LICENSE)

More

Packages that depend on functional_collections