Install libghc-base-prelude-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-base-prelude-dev
Description:
most complete prelude formed solely from the "base" package
A library which aims to reexport all the non-conflicting and most general definitions from the base package. This includes APIs for applicatives, arrows, monoids, foldables, traversables, exceptions, generics, ST, MVars and STM. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: https://github.com/nikita-volkov/base-prelude
Version: 1.2.0.1-1
Section: universe/haskell