-- see http://www.haskell.org/pipermail/haskell-cafe/2009-November/069490.html

-- | trims a string both on left and right hand side
trim :: String -> String
trim = trimRight . trimLeft
trim :: String -> String
trim = trimRight . trimLeft
trim = trimRight . trimLeft