Install libghc-maths-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-maths-dev
Description:
Combinatorics, group theory, (non-)commutative algebra
A library of maths code in the areas of combinatorics, group theory, commutative algebra, and non-commutative algebra. The library is mainly intended for educational purposes, but does have efficient implementations of several fundamental algorithms. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://haskellformaths.blogspot.com/
Version: 0.4.8-4build1
Section: universe/haskell