Install libghc-primitive-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-primitive-dev
Description:
Wrappers for primitive operations
This package contains Haskell bindings for the functions and data structures defined in the primitive C library. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: https://github.com/haskell/primitive
Version: 0.6.2.0-1
Section: universe/haskell