Install libghc-prelude-extras-prof by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-prelude-extras-prof
Description:
higher-order versions of Prelude classes; profiling libraries
Haskell 98 - higher order versions of Prelude classes to ease programming with polymorphic recursion and reduce UndecidableInstances . This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://github.com/ekmett/prelude-extras
Version: 0.4.0.3-3build1
Section: universe/haskell