silkapp/rest — pull request #63 by amarpotghan (2014-09-02 18:49:24+00:00)
Title: Refactored `trim` function to get rid of some duplication

trim = f . f
where f = reverse . dropWhile isSpace

looks better than

trim = reverse . dropWhile isSpace . reverse . dropWhile isSpace