streamly-0.8.1.1: Dataflow programming and declarative concurrency
Copyright(c) 2019 Composewell Technologies
LicenseBSD3
Maintainerstreamly@composewell.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Streamly.Internal.Control.Exception

Description

Additional Control.Exception utilities.

Synopsis

Documentation

assertM :: Applicative f => Bool -> f () Source #

verify :: Bool -> a -> a Source #

Like assert but is not removed by the compiler, it is always present in production code.

Pre-release

verifyM :: Applicative f => Bool -> f () Source #