co-log-core-0.2.1.0: Composable Contravariant Comonadic Logging Library

Copyright(c) 2018-2020 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Colog.Core

Description

Exports all core functionality. co-log-core is a lightweight package that defines only core data type and various combinators to work with it.

Fundamentals of co-log-core are based on the following data type:

newtype LogAction m msg = LogAction
    { unLogAction :: msg -> m ()
    }

This data type provides extremely composable and flexible interface by having many instances of the standard algebraic data types.

The package has the following structure:

Documentation