timbod7 / haskell-chart

A 2D charting library for haskell
429 stars 85 forks source link

Allow mtl-2.3 #246

Closed FinleyMcIlwaine closed 1 year ago

FinleyMcIlwaine commented 1 year ago

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.

timbod7 commented 1 year ago

Thanks for this.

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.