free-operational: Operational Applicative, Alternative, Monad and MonadPlus from free types.
A reimplementation of the operational
package
(http://hackage.haskell.org/package/operational) using free monads
(from http://hackage.haskell.org/package/free). This implements
ideas discussed here:
http://stackoverflow.com/questions/14263363/is-operational-really-isomorphic-to-a-free-monad
http://www.reddit.com/r/haskell/comments/17a33g/free_functors_the_reason_free_and_operational_are/
To understand the basic concepts you can do no better than read
Heinrich Apfelmus' operational
tutorial:
In addition to that, this package supplies operational
-style
modules for Applicative
, Alternative
and MonadPlus
.
Applicative
and Alternative
programs easily admit of static
analysis. See these references for discussion and examples:
http://gergo.erdi.hu/blog/2012-12-01-static_analysis_with_applicatives/ (discussion: http://www.reddit.com/r/haskell/comments/143wpd/static_analysis_with_applicatives/)
http://paolocapriotti.com/blog/2013/04/03/free-applicative-functors/ (discussion: http://www.reddit.com/r/haskell/comments/1bnql3/free_applicative_functors_icfp_submission/)
See Control.Applicative.Operational for the bulk of the documentation. Control.Alternative.Operational also has some significant examples.
Flags
Manual Flags
Name | Description | Default |
---|---|---|
test-properties | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- free-operational-0.5.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0 |
---|---|
Dependencies | base (>=4 && <5), comonad-transformers (>=3.0), free (>=3.3), kan-extensions (>=3.7 && <3.8), mtl (>=2), transformers (>=0.3) [details] |
License | BSD-3-Clause |
Copyright | 2013 Luis Casillas |
Author | Luis Casillas |
Maintainer | luis@casillas.org |
Category | Control |
Bug tracker | https://github.com/sacundim/free-operational/issues |
Source repo | head: git clone https://github.com/sacundim/free-operational |
Uploaded | by LuisCasillas at 2013-08-08T05:46:22Z |
Distributions | |
Reverse Dependencies | 2 direct, 0 indirect [details] |
Downloads | 3745 total (7 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |