shake-language-c-0.11.0: Utilities for cross-compiling with Shake

Safe HaskellNone
LanguageHaskell98

Development.Shake.Language.C.Label

Description

This module provides some lens utilities and also re-exports Data.Label, which can avoid a package dependency on fclabels in some cases.

Synopsis

Documentation

module Data.Label

append Source #

Arguments

:: Monoid a 
=> (f :-> a)

lens

-> a

stuff to append

-> f

original record

-> f

modified record

Append stuff to the Monoid in record field specified by lens.

prepend Source #

Arguments

:: Monoid a 
=> (f :-> a)

lens

-> a

stuff to prepend

-> f

original record

-> f

modified record

Prepend stuff to the Monoid in record field specified by lens.