shuttlecock 0.4.4

  • Installing
  • Versions
  • 64


A monad library based on the standard Scala libraries and heavily influenced by Haskell.


Still in development, look for Scala and Haskell documentation, it should be straightforward to adapt to this.

Features and bugs

Please file feature requests and bugs at the issue tracker.

Originally inspired by the course Category theory for programmers by Bartosz Milewski.



  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

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

  shuttlecock: "^0.4.4"

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 flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:shuttlecock/shuttlecock.dart';
Version Uploaded Documentation Archive
0.4.4 Jan 31, 2018 Go to the documentation of shuttlecock 0.4.4 Download shuttlecock 0.4.4 archive
0.4.3 Dec 30, 2017 Go to the documentation of shuttlecock 0.4.3 Download shuttlecock 0.4.3 archive
0.4.1 Dec 19, 2017 Go to the documentation of shuttlecock 0.4.1 Download shuttlecock 0.4.1 archive
0.3.3 Sep 21, 2017 Go to the documentation of shuttlecock 0.3.3 Download shuttlecock 0.3.3 archive
0.3.2 Sep 21, 2017 Go to the documentation of shuttlecock 0.3.2 Download shuttlecock 0.3.2 archive
0.2.1 Sep 2, 2017 Go to the documentation of shuttlecock 0.2.1 Download shuttlecock 0.2.1 archive
0.1.0 Aug 20, 2017 Go to the documentation of shuttlecock 0.1.0 Download shuttlecock 0.1.0 archive
0.0.1 Nov 20, 2016 Go to the documentation of shuttlecock 0.0.1 Download shuttlecock 0.0.1 archive
0.5.5-dev May 22, 2018 Go to the documentation of shuttlecock 0.5.5-dev Download shuttlecock 0.5.5-dev archive
0.5.4-dev May 5, 2018 Go to the documentation of shuttlecock 0.5.4-dev Download shuttlecock 0.5.4-dev archive

All 12 versions...


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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
49 / 100
Code health derived from static analysis. [more]
69 / 100
Reflects how tidy and up-to-date the package is. [more]
96 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

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


  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 7 errors 1 hint.

    Strong-mode analysis of lib/src/instances/stream_monad.dart failed with the following error:

    line: 7 col: 7
    Missing concrete implementation of 'Stream.cast'.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use shuttlecock.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.1 <2.0.0
meta ^1.1.0 1.1.5
tuple ^1.0.1 1.0.1
Transitive dependencies
quiver_hashcode 1.0.0
Dev dependencies
test >=0.12.24+6 <0.13.0