co-log-core-0.3.2.2: Composable Contravariant Comonadic Logging Library
Copyright(c) 2018-2020 Kowainik 2021-2024 Co-Log
LicenseMPL-2.0
MaintainerCo-Log <xrom.xkov@gmail.com>
StabilityStable
PortabilityPortable
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