ghc-7.2.1: The GHC API

Class

Synopsis

Documentation

defMethSpecOfDefMeth :: DefMeth -> DefMethSpecSource

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 :: Name -> [TyVar] -> [([TyVar], [TyVar])] -> [PredType] -> [Id] -> [TyCon] -> [ClassOpItem] -> TyCon -> ClassSource