fpdt 0.1.4 fpdt: ^0.1.4 copied to clipboard
A collection of functions and monads for functional programming in dart.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
1198 out of 1634 API elements (73.3 %) have documentation comments.
Some symbols that are missing documentation: either
, either.Do
, either.DoFunction
, either.Left
, either.Left.Left
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 88 issues. Showing the first 2:
ERROR: The name 'Tuple2' isn't a type, so it can't be used as a type argument.
lib/either.dart:127:11
╷
127 │ Either<L, Tuple2<R, R2>> Function(Either<L, R> either) flatMapTuple2<L, R, R2>(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/either.dart
ERROR: The name 'Tuple2' isn't a type, so it can't be used as a type argument.
lib/either.dart:133:49
╷
133 │ Either<L, Tuple3<R, R2, R3>> Function(Either<L, Tuple2<R, R2>> either)
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/either.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
fast_immutable_collections |
any |
11.0.0 | 11.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
meta |
- | 1.16.0 | 1.16.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 77 errors:
NON_TYPE_AS_TYPE_ARGUMENT
-lib/either.dart:127:11
- The name 'Tuple2' isn't a type, so it can't be used as a type argument.NON_TYPE_AS_TYPE_ARGUMENT
-lib/either.dart:133:49
- The name 'Tuple2' isn't a type, so it can't be used as a type argument.UNDEFINED_CLASS
-lib/either.dart:135:26
- Undefined class 'Tuple2'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Dart 3.6.0
.
Check the analysis log for details.