Install libghc-diagrams-core-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-diagrams-core-dev
Description:
Core libraries for diagrams EDSL
The core modules underlying diagrams, an embedded domain-specific language for compositional, declarative drawing. . This package provides a library for the Haskell programming language. 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