Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Debug utilities
Synopsis
- dbgSTree :: (Show a, Unbox a, PrimMonad m) => SegmentTree (PrimState m) a -> m ()
- dbgSTreeAll :: (Show a, Unbox a, PrimMonad m) => SegmentTree (PrimState m) a -> m ()
- dbgLSTree :: (Show a, Monoid a, Unbox a, Monoid op, SegmentAction op a, Eq op, Unbox op, PrimMonad m) => LazySegmentTree a op (PrimState m) -> m ()
Documentation
dbgSTree :: (Show a, Unbox a, PrimMonad m) => SegmentTree (PrimState m) a -> m () #
Shows the leaves of a strict segment tree.
WARNING: It shows unused leaves, too.
dbgSTreeAll :: (Show a, Unbox a, PrimMonad m) => SegmentTree (PrimState m) a -> m () #
Shows the nodes and the leaves of a strict segment tree,
WARNING: It shows unused nodes and leaves, too.