▽あどけない話 ●11/21 16:32 2024-11-20Labeling threads in HaskellHaskellGHC 9.6 provides a function to list up the current threads finally. The function is listThreads exported from the GHC.Conc.Sync module. listThreads is a killer debug method for thread leaks.If you have Haskell programs which run for a long time, it's quite nice to provide feature to monitor threads with the following functions:import Data.List (sort