homplexity-0.4.6.0: Haskell code quality tool
Language.Haskell.Homplexity.Utilities
sumOf :: (a -> Int) -> [a] -> Int Source #
Sum the results of mapping the function over the list.
maxOf :: (a -> Int) -> [a] -> Int Source #
Maximum of the results of mapping the function over the list.
declHeadName :: DeclHead l -> Name l Source #
Get the name of a declaration.