HoleyMonoid

Version 0.1.2 revision 0 uploaded by MartijnVanSteenbergen.

Package meta

Synopsis
Monoids with holes.
Description

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"
Author
Martijn van Steenbergen
Bug reports
n/a
Category
Data Structures
Copyright
Some Rights Reserved (CC) 2009-2015 Martijn van Steenbergen
Homepage
https://github.com/MedeaMelana/HoleyMonoid
Maintainer
Martijn van Steenbergen <martijn@van.steenbergen.nl>
Package URL
n/a
Stability
Experimental

Components