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.
Please file feature requests and bugs at the issue tracker.
Originally inspired by the course Category theory for programmers by Bartosz Milewski.
Add this to your package's pubspec.yaml file:
dependencies: shuttlecock: "^0.4.4"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.4.4||Jan 31, 2018|
|0.4.3||Dec 30, 2017|
|0.4.1||Dec 19, 2017|
|0.3.3||Sep 21, 2017|
|0.3.2||Sep 21, 2017|
|0.2.1||Sep 2, 2017|
|0.1.0||Aug 20, 2017|
|0.0.1||Nov 20, 2016|
|0.5.0-dev||Mar 3, 2018|
|0.4.6-dev||Feb 1, 2018|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
No platform restriction found in primary library
Fix analysis and formatting issues.
Analysis or formatting checks reported 7 errors 1 hint.
Strong-mode analysis of
lib/src/instances/stream_monad.dartfailed with the following error:
line: 7 col: 7
Missing concrete implementations of 'Stream.cast' and 'Stream.retype'.
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:
example.dartor you could also use