compstrat-0.1.0.3: Strategy combinators for compositional data types
CopyrightJames Koppel 2013
LicenseBSD-style (see the LICENSE file in the distribution)
Safe HaskellNone
LanguageHaskell98

Data.Comp.Multi.Strategy.Derive

Description

This file gives a Template-Haskell generator for DynCase

Synopsis

Documentation

makeDynCase :: Name -> Q [Dec] Source #

makeDynCase ''T takes a datatype T of kind (* -> *) -> * -> * (i.e.: a signature in the compdata or cubix-compdata library) and generates a DynCase instance for T.