Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data TypeClassDictionaryInScope v = TypeClassDictionaryInScope {
- tcdChain :: [Qualified Ident]
- tcdIndex :: Integer
- tcdValue :: v
- tcdPath :: [(Qualified (ProperName ClassName), Integer)]
- tcdClassName :: Qualified (ProperName ClassName)
- tcdInstanceTypes :: [SourceType]
- tcdDependencies :: Maybe [SourceConstraint]
- type NamedDict = TypeClassDictionaryInScope (Qualified Ident)
- superclassName :: Qualified (ProperName ClassName) -> Integer -> Text
Documentation
data TypeClassDictionaryInScope v Source #
Data representing a type class dictionary which is in scope
TypeClassDictionaryInScope | |
|
Instances
superclassName :: Qualified (ProperName ClassName) -> Integer -> Text Source #
Generate a name for a superclass reference which can be used in generated code.