derive-0.1.2: A program and library to derive instances for data typesSource codeContentsIndex
Data.Derive.Ref
Description

A pseudo derivation. For each field in the data type, deriving Ref generates refFieldName = Ref { select = fieldName , update = f v -> v { fieldName = f (fieldName v) } }.

This is intended for use with the compositional functional references described in http://www.haskell.org/pipermail/haskell-cafe/2007-June/026477.html.

Documentation
makeRef :: DerivationSource
Produced by Haddock version 2.4.2