HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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