Install libghc-gloss-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-gloss-dev
Description:
Painless 2D vector graphics, animations and simulations.
Gloss hides the pain of drawing simple vector graphics behind a nice data type and a few display functions. Gloss comes for with support for animations and simulations as well, and allows one to create simple interactive games. Gloss uses OpenGL under the hood, but you won't need to worry about any of that. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: http://gloss.ouroborus.net
Version: 1.11.1.1-1build4
Section: universe/haskell