Aleksey Khudyakov committed 2d959f6

Make Hisotogram data type strict

Lazy data type can (and will) to space leaks.

Comments (0)

Files changed (1)


 --   [@bin@] binning. It should be instance of 'Bin'. Check that type class description for details.
 --   [@a@] type of bin content.
-data Histogram v bin a = Histogram bin (Maybe (a,a)) (v a)
+data Histogram v bin a = Histogram !bin !(Maybe (a,a)) !(v a)
                          deriving (Eq)
 -- | Create histogram from binning algorithm and vector with