mtl-2.3.1 dropped the Control.Monad reexport, so need to import Control.Monad. This makes some imports of mtl modules unnecessary.
This PR also removes imports that were causing unused import warnings, trims some trailing whitespace, and fixes the line endings in the Graphics.Rendering.Chart.Plot.Pie module which were CRLF for some reason while others were LF.
As you probably gather, this library is not actively maintained. I haven't used it for many years now. But I'm pleased that it remains useful to others, and am happy to apply PRs.
mtl-2.3.1
dropped theControl.Monad
reexport, so need toimport Control.Monad
. This makes some imports ofmtl
modules unnecessary.This PR also removes imports that were causing unused import warnings, trims some trailing whitespace, and fixes the line endings in the
Graphics.Rendering.Chart.Plot.Pie
module which were CRLF for some reason while others were LF.