Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- expensiveAssert :: Bool -> a -> a
Documentation
expensiveAssert :: Bool -> a -> a Source #
Like assert
, but only enabled with -fdebug-expensive-assertions. This
function can be used for expensive assertions that should only be turned on
during testing or debugging.