HoleyMonoid: Monoids with holes.
The HoleyMonoid allows building monoidal values of which certain components are to be filled in later. For example:
> let holey :: (Show a, Show b) => HoleyMonoid String r (a -> b -> r)
holey = now "x = " . later show . now ", y = " . later show
> run holey 3 5
"x = 3, y = 5"
Downloads
- HoleyMonoid-0.1.2.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.1, 0.1.1, 0.1.2 |
|---|---|
| Dependencies | base (>=4 && <5) [details] |
| License | BSD-3-Clause |
| Copyright | Some Rights Reserved (CC) 2009-2015 Martijn van Steenbergen |
| Author | Martijn van Steenbergen |
| Maintainer | Martijn van Steenbergen <martijn@van.steenbergen.nl> |
| Category | Data Structures |
| Home page | https://github.com/MedeaMelana/HoleyMonoid |
| Source repo | head: git clone https://github.com/MedeaMelana/HoleyMonoid |
| Uploaded | by MartijnVanSteenbergen at 2017-02-13T15:05:58Z |
| Distributions | NixOS:0.1.2 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 3429 total (4 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2017-02-13 [all 1 reports] |