HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.3.2.2LoggingContravariantComonad

co-log-core

Composable Contravariant Comonadic Logging Library

Modules

5 modules

Description

This package provides core types and functions to work with the LogAction data type which is both simple and powerful.

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

The ideas behind this package are described in the following blog post:

co-log: Composable Contravariant Combinatorial Comonadic Configurable Convenient Logging

See the following packages for different implementations based on co-log-core:

co-log: taggless final implementations. co-log-polysemy: extensible effects implementation based on polysemy.

Depends on

1 package

Used by in this set · 1