Install libghc-haskell-src-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-haskell-src-dev
Description:
Haskell module to manipulate Haskell source
This package provides a library for the Haskell programming language. . This library provides facilities for manipulating Haskell source code: an abstract syntax, lexer, parser and pretty-printer.
Homepage: http://hackage.haskell.org/package/haskell-src
Version: 1.0.2.0-6build3
Section: universe/haskell