ghc-7.10.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

Class

Synopsis

Documentation

data ClassATItem Source

Constructors

ATI TyCon (Maybe Type) 

defMethSpecOfDefMeth :: DefMeth -> DefMethSpec Source

Convert a DefMethSpec to a DefMeth, which discards the name field in the DefMeth constructor of the DefMeth.

type FunDep a = ([a], [a]) Source

mkClass :: [TyVar] -> [([TyVar], [TyVar])] -> [PredType] -> [Id] -> [ClassATItem] -> [ClassOpItem] -> ClassMinimalDef -> TyCon -> Class Source