FICHA · MANJARO

haskell-time-units

A basic library for defining units of time as types.

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Defines time units as Haskell types. Representing seconds, milliseconds, and related units at the type level helps code express which unit a value uses.

It is useful for APIs that pass durations, timeouts, retry intervals, or scheduling values. Clear units reduce mistakes such as treating milliseconds as seconds, but developers still need to convert units intentionally.

Permissions

Permissions not analysed for this source yet.