Clean up source files:
authorChristiaan Baaij <christiaan.baaij@gmail.com>
Wed, 11 Nov 2009 14:49:50 +0000 (15:49 +0100)
committerChristiaan Baaij <christiaan.baaij@gmail.com>
Wed, 11 Nov 2009 14:49:50 +0000 (15:49 +0100)
commitf3951a1376fc7d7f8addbe9e9fed071320502100
tree10860bb5853cb2f4c782ca164a16cdcb0b385b23
parenteab16fafe7a623b5ea669023b91ddee4b1983526
Clean up source files:

- Remove unused imports
- Remove unneeded '$'
- Remove unneeded 'do'
- Remove unneeded 'return'
- Replace 'concat $ map' by 'concatMap'
- Replace 'mapM' by 'mapM_' if return value is not stored
- Replace 'not $ x `elem` xs' by 'x `notElem` xs'
20 files changed:
cλash/CLasH/HardwareTypes.hs
cλash/CLasH/Normalize.hs
cλash/CLasH/Normalize/NormalizeTools.hs
cλash/CLasH/Normalize/NormalizeTypes.hs
cλash/CLasH/Translator.hs
cλash/CLasH/Translator/Annotations.hs
cλash/CLasH/Translator/TranslatorTypes.hs
cλash/CLasH/Utils.hs
cλash/CLasH/Utils/Core/BinderTools.hs
cλash/CLasH/Utils/Core/CoreShow.hs
cλash/CLasH/Utils/Core/CoreTools.hs
cλash/CLasH/Utils/GhcTools.hs
cλash/CLasH/Utils/HsTools.hs
cλash/CLasH/Utils/Pretty.hs
cλash/CLasH/VHDL.hs
cλash/CLasH/VHDL/Constants.hs
cλash/CLasH/VHDL/Generate.hs
cλash/CLasH/VHDL/Testbench.hs
cλash/CLasH/VHDL/VHDLTools.hs
cλash/CLasH/VHDL/VHDLTypes.hs