homplexity-0.4.7.0: Haskell code quality tool

Safe HaskellSafe
LanguageHaskell2010

Language.Haskell.Homplexity.Utilities

Synopsis

Documentation

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.