Install libghc-threads-prof by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-threads-prof
Description:
Fork threads and wait for their result; profiling libraries
This package provides functions to fork threads and wait for their result, whether it's an exception or a normal value. . Besides waiting for the termination of a single thread this package also provides functions to wait for a group of threads to terminate. . This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
Homepage: https://github.com/basvandijk/threads
Version: 0.5.1.5-1
Section: universe/haskell