Install libghc-diagrams-core-prof by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-diagrams-core-prof
Description:
Core libraries for diagrams EDSL; profiling libraries
The core modules underlying diagrams, an embedded domain-specific language for compositional, declarative drawing. . 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://projects.haskell.org/diagrams
Version: 1.4.0.1-1build1
Section: universe/haskell