homplexity-0.4.8.1: Haskell code quality tool
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.Homplexity.TypeClassComplexity

Description

Measuring the complexity of type class declarations

Synopsis

Documentation

data NonTypeDeclCount Source #

Represents the number of methods and value in a type class.

Instances

Instances details
Enum NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Num NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Integral NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Real NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Methods

toRational :: NonTypeDeclCount -> Rational

Show NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Methods

showsPrec :: Int -> NonTypeDeclCount -> ShowS

show :: NonTypeDeclCount -> String

showList :: [NonTypeDeclCount] -> ShowS

Eq NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Ord NonTypeDeclCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Metric NonTypeDeclCount TypeClass Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

nonTypeDeclCountT :: Proxy NonTypeDeclCount Source #

For passing NonTypeDeclCount type as parameter.

data AssocTypeCount Source #

Represents the number of associated types in a type class. It includes both associated type and data families.

Instances

Instances details
Enum AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Num AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Integral AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Real AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Methods

toRational :: AssocTypeCount -> Rational

Show AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Methods

showsPrec :: Int -> AssocTypeCount -> ShowS

show :: AssocTypeCount -> String

showList :: [AssocTypeCount] -> ShowS

Eq AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Ord AssocTypeCount Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

Metric AssocTypeCount TypeClass Source # 
Instance details

Defined in Language.Haskell.Homplexity.TypeClassComplexity

assocTypeCountT :: Proxy AssocTypeCount Source #

For passing AssocTypeCount type as parameter.