th-extras-0.0.0.4: A grab bag of functions for use with Template Haskell

Safe HaskellNone
LanguageHaskell98

Language.Haskell.TH.Extras

Synopsis

Documentation

replace :: (a -> Maybe a) -> a -> a Source

argTypesOfCon :: Con -> [Type] Source

WARNING: discards binders in GADTs and existentially-quantified constructors