ghc-7.0.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] -> Int -> [Id] -> [TyCon] -> [ClassOpItem] -> TyCon -> ClassSource