Commits

Bryan O'Sullivan committed c4cf497

Tidy up some assert-related silliness

Comments (0)

Files changed (2)

Data/Text/Array.hs

     , copyM
     , copyI
     , empty
+#if defined(ASSERTS)
+    , length
+#endif
     , run
     , run2
     , toList

Data/Text/Lazy/Builder.hs

    , flush
    ) where
 
-#if defined(ASSERTS)
-import Control.Exception (assert)
-#endif
 import Control.Monad.ST (ST, runST)
 import Data.Bits ((.&.))
 import Data.Monoid (Monoid(..))