value
throwIf :: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Moduleghc-internal-9.1003.0Haskell2010
Routines for testing return values and raising a userError exception in case of values indicating an error state.
throwIf Like throwIf, but discarding the result
Guards against negative result values
Like throwIfNeg, but discarding the result
Guards against null pointers
Deprecated. use Control.Monad.void instead
Discard the return value of an IO action