packages feed

relude-1.0.0.1 / src / Relude / Bool.hs

{-# LANGUAGE Safe #-}{- |Copyright:  (c) 2016 Stephen Diehl            (c) 2016-2018 Serokell            (c) 2018-2021 KowainikSPDX-License-Identifier: MITMaintainer:  Kowainik <xrom.xkov@gmail.com>Stability:   StablePortability: PortableConvenient commonly used and very helpful functions to work with 'Bool' and alsowith monads.-}module Relude.Bool    ( module Relude.Bool.Reexport      -- $reexport    , module Relude.Bool.Guard      -- $guard    ) whereimport Relude.Bool.Guardimport Relude.Bool.Reexport{- $reexportReexports from "Data.Bool" and "Control.Monad". Includes necessary types andfunctions to work with 'Bool' type.-}{- $guardBoolean combinators that work in monads. Like 'ifM' or 'guardM'.-}