Install libghc-weigh-prof by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-weigh-prof
Description:
measure allocations of a Haskell functions/values; profiling libraries
Weigh is a framework for seeing how much a function allocates. It can weigh pure functions as well as IO actions. . 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/fpco/weigh#readme
Version: 0.0.7-1
Section: universe/haskell