Install libghc-vector-space-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-vector-space-dev
Description:
Vector & affine spaces, linear maps, and derivatives library
vector-space provides classes and generic operations for vector spaces and affine spaces. It also defines a type of infinite towers of generalized derivatives. A generalized derivative is a linear transformation rather than one of the common concrete representations (scalars, vectors, matrices, ...). . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://hackage.haskell.org/package/vector-space
Version: 0.10.4-3build5
Section: universe/haskell