derive-topdown-0.1.0.0: Derive type class instances
Copyright(c) Song Zhang
LicenseBSD-style (see the LICENSE file)
Maintainerhaskell.zhang.song `at` hotmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Derive.TopDown.CxtGen

Description

 
Synopsis

Documentation

genInferredContext :: ClassName -> TypeName -> Q Cxt Source #

genHoleContext :: ClassName -> TypeName -> Q Cxt Source #

Generate wildcard context

genAllFieldsContext :: ClassName -> TypeName -> Q Cxt Source #

Put all possible type fields of the type into context