Commits

Aleksey Khudyakov committed f8fc6ef

Expose contructor for HBuilder

Comments (0)

Files changed (1)

Data/Histogram/Fill.hs

   , joinHBuilderM
   , treeHBuilderM
     -- ** Stateless
-  , HBuilder
+  , HBuilder(HBuilder)
   , toHBuilderST
   , toHBuilderIO
   , joinHBuilder
 -- Stateless
 ----------------------------------------------------------------
 
--- | Stateless histogram builder
+-- | Wrapper around stateful histogram builder. It is much more
+--   convenient to work with than 'HBuilderM'.
 newtype HBuilder a b = HBuilder { toHBuilderST :: forall s . ST s (HBuilderM (ST s) a b)
                                   -- ^ Convert builder to stateful builder in ST monad
                                 }