homplexity-0.4.8.1: Haskell code quality tool
Safe HaskellSafe-Inferred
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.