-- |Trim whitespace from a string
trim :: String -> String
trim = f . f where f = reverse . dropWhile isSpace

-- |Split a list of lists based on a single item separator
trim :: String -> String
trim = f . f where f = reverse . dropWhile isSpace

-- |Split a list of lists based on a single item separator
trim = f . f where f = reverse . dropWhile isSpace

-- |Split a list of lists based on a single item separator