Install libghc-stm-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-stm-dev
Description:
Haskell Software Transactional Memory library for GHC
Provides a Haskell Software Transactional Memory (STM) library. STM is a modular composable concurrency abstraction. . 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/stm
Version: 2.4.4.1-3build1
Section: universe/haskell