Code reorganisation

0 views
Skip to first unread message

Tim Docker

unread,
Oct 10, 2010, 1:24:01 AM10/10/10
to haskell...@googlegroups.com
Some of the files in the library are getting a little large and
unwieldy, in particular Axis.hs and Plot.hs. I'm thinking of splitting
these out, into type specific files, something like:

Axis.hs
Axis/Double.hs
Axis/LocalTime.hs
Axis/Indexed.hs

Plot.hs
Plot/Points.hs
Plot/Lines.hs
Plot/Bars.hs
Plot/Pie.hs

etc. Does anyone think this is a bad idea?

Tim

Malcolm Wallace

unread,
Oct 9, 2010, 11:57:58 AM10/9/10
to haskell...@googlegroups.com
> I'm thinking of splitting these out, into type specific files
> Does anyone think this is a bad idea?

No, I think it is a great idea.

Regards,
Malcolm

Tim Docker

unread,
Oct 20, 2010, 10:07:55 PM10/20/10
to haskell...@googlegroups.com
I wrote:
>> I'm thinking of splitting these out, into type specific files
I've done this, and pushed a collection of patches. I think this is a
good improvement, as it makes it clearer that adding a new type of plot
or axis is a simple change.

I still have a patch from Eugene Kirpichov to merge and test, after
which I'll do a hackage release (0.14).

I would like to make the changes to support unicode, but this needs
changing the text rendering to use to more complex pango library. I
haven't time to look at this right now.

Tim,

Reply all
Reply to author
Forward
0 new messages