fpfantasy 1.0.4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 68

Fp Fantasy #

Fp style in the Dart 2!

Created from templates made available by Stagehand under a BSD-style license.

Usage #

documentation

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0.0.1 #

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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


dependencies:
  fpfantasy: ^1.0.4

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:fpfantasy/fpfantasy.dart';
  
Version Uploaded Documentation Archive
1.0.4 Nov 27, 2018 Go to the documentation of fpfantasy 1.0.4 Download fpfantasy 1.0.4 archive
1.0.3 Nov 26, 2018 Go to the documentation of fpfantasy 1.0.3 Download fpfantasy 1.0.3 archive
1.0.2 Nov 26, 2018 Go to the documentation of fpfantasy 1.0.2 Download fpfantasy 1.0.2 archive
1.0.1 Nov 10, 2018 Go to the documentation of fpfantasy 1.0.1 Download fpfantasy 1.0.1 archive
1.0.0 Aug 16, 2018 Go to the documentation of fpfantasy 1.0.0 Download fpfantasy 1.0.0 archive
0.0.1 Aug 13, 2018 Go to the documentation of fpfantasy 0.0.1 Download fpfantasy 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
45
Health:
Code health derived from static analysis. [more]
84
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
68
Learn more about scoring.

We analyzed this package on Jun 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:fpfantasy/fpfantasy.dart.

Health suggestions

Fix lib/src/immutable/imMap.dart. (-4.41 points)

Analysis of lib/src/immutable/imMap.dart reported 9 hints, including:

line 13 col 39: Avoid types as parameter names.

line 25 col 26: Avoid types as parameter names.

line 25 col 29: Avoid types as parameter names.

line 29 col 43: Avoid types as parameter names.

line 29 col 46: Avoid types as parameter names.

Fix lib/src/maybe.dart. (-2.96 points)

Analysis of lib/src/maybe.dart reported 6 hints, including:

line 6 col 7: Don't explicitly initialize variables to null.

line 26 col 7: Don't explicitly initialize variables to null.

line 51 col 33: Avoid types as parameter names.

line 69 col 33: Avoid types as parameter names.

line 99 col 14: Avoid types as parameter names.

Fix lib/src/immutable/imList.dart. (-2.48 points)

Analysis of lib/src/immutable/imList.dart reported 5 hints:

line 26 col 23: Avoid types as parameter names.

line 30 col 27: Avoid types as parameter names.

line 38 col 22: Avoid types as parameter names.

line 42 col 43: Avoid types as parameter names.

line 52 col 45: Avoid types as parameter names.

Fix additional 10 files with analysis or formatting issues. (-7.50 points)

Additional issues in the following files:

  • lib/src/chain.dart (2 hints)
  • lib/src/map/flattenMap.dart (2 hints)
  • lib/src/map/generate.dart (2 hints)
  • lib/src/matching.dart (2 hints)
  • lib/src/types.dart (2 hints)
  • lib/src/ap.dart (1 hint)
  • lib/src/compose.dart (1 hint)
  • lib/src/concat.dart (1 hint)
  • lib/src/curry/curry.dart (1 hint)
  • lib/src/list/flattenList.dart (1 hint)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.67.0 <3.0.0
Dev dependencies
test ^1.3.0