concurrent-output

Ungarble output from several threads or commands

Version on this page:1.10.10
LTS Haskell 22.18:1.10.20
Stackage Nightly 2024-04-22:1.10.20
Latest on Hackage:1.10.20

See all snapshots concurrent-output appears in

BSD-2-Clause licensed by Joey Hess, Joachim Breitner
Maintained by Joey Hess
This version can be pinned in stack with:concurrent-output-1.10.10@sha256:5290b0900504fdfd32ded51bb3140f4eafaa14e3e2366b9ffa9c63db24a424ed,1651

Module documentation for 1.10.10

  • System
    • System.Console
      • System.Console.Concurrent
        • System.Console.Concurrent.Internal
      • System.Console.Regions
    • System.Process
      • System.Process.Concurrent

Lets multiple threads and external processes concurrently output to the console, without it getting all garbled up.

Built on top of that is a way of defining multiple output regions, which are automatically laid out on the screen and can be individually updated by concurrent threads. Can be used for progress displays etc.