cabal-install-solver-3.10.1.0: The command-line interface for Cabal and Hackage.
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.