HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Package0.3.2.7LoggingContravariantComonad

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