co-log-0.1.0: Logging library

Safe HaskellNone
LanguageHaskell2010

Colog.Contra

Contents

Description

This module contains LogAction instances of contravariant classes.

Orphan instances

Contravariant (LogAction m) Source # 
Instance details

Methods

contramap :: (a -> b) -> LogAction m b -> LogAction m a

(>$) :: b -> LogAction m b -> LogAction m a

Applicative m => Decidable (LogAction m) Source # 
Instance details

Methods

lose :: (a -> Void) -> LogAction m a

choose :: (a -> Either b c) -> LogAction m b -> LogAction m c -> LogAction m a

Applicative m => Divisible (LogAction m) Source # 
Instance details

Methods

divide :: (a -> (b, c)) -> LogAction m b -> LogAction m c -> LogAction m a

conquer :: LogAction m a