The functional-arrow package
If you program with Arrows you have two choices: Use the plain Arrow combinators, that are cumbersome to use, or use special Arrow syntax, that is built into all Haskell compilers and is still not very functional programming style. The arrow syntax still forces you to introduce temporary names, that you would not need in a functional notation.
Where you would write things like
mix <<< (id &&& delay) <<< lowpass
using plain Arrow combinators, you can now write
lowpass >>>= \x ->
mix <<< (listen x &&& (delay <<< listen x))
where the (>>>=) resembles the monadic bind and allows you for shared access to an arrow result. Thus it can be used like a let.
Properties
| Version | 0.0 |
|---|---|
| Dependencies | base (≥3 & <5), HList (0.2.*) |
| License | BSD3 |
| Author | Henning Thielemann <haskell@henning-thielemann.de> |
| Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |
| Category | Combinators |
| Source repository | darcs get http://code.haskell.org/~thielema/functional-arrow/ |
| Upload date | Sun Sep 26 15:00:23 UTC 2010 |
| Uploaded by | HenningThielemann |
| Built on | ghc-6.12, ghc-7.0, ghc-7.2 |
Modules
- Control
Downloads
- functional-arrow-0.0.tar.gz (Cabal source package)
- package description (included in the package)