th-reify-compat-0.0.1.5: Compatibility for the result type of TH reify
Copyright2016 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellSafe
LanguageHaskell2010

Language.Haskell.TH.Compat.Reify

Description

This module provides compatibility definitions of destructuring result type of reify for before temaplate-haskell-2.11

Synopsis

Interfaces to destruct reify result

unClassOpI :: Info -> Maybe (Name, Type, ParentName) Source #

Compatible interface to destruct ClassOpI

unDataConI :: Info -> Maybe (Name, Type, ParentName) Source #

Compatible interface to destruct DataConI

unVarI :: Info -> Maybe (Name, Type, Maybe Dec) Source #

Compatible interface to destruct VarI

Interface to get operator fixity

reifyFixity :: Name -> Q (Maybe Fixity) #

Interface of type alias name

type ParentName = Name #