cabal-install-solver-3.14.2.0: The solver component of cabal-install
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Utils.Assertion

Synopsis

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.