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

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleekg-core-0.1.2.0Haskell2010

System.Metrics.Label

This module defines a type for mutable, string-valued labels. Labels are variable values and can be used to track e.g. the command line arguments or other free-form values. All operations on labels are thread-safe.

  • 1 type
  • 4 values
  • Packageekg-core-0.1.2.0
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLabel.hs
newtypenewtype Label
#

A mutable, text-valued label.

valuemodify :: (Text -> Text) -> Label -> IO ()
#

Set the label to the result of applying the given function to the value.