HoleyMonoid: Monoids with holes.

[ bsd3, data-structures, library ] [ Propose Tags ] [ Report a vulnerability ]

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"

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

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 3366 total (22 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]