Install libghc-io-choice-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-io-choice-dev
Description:
choice for IO and lifted IO
io-choice provides the choice operator (||>) for the IO monad and lifted IO monad. If an IOException occurs in the left-hand side, the right-hand IO action is performed. . 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/io-choice
Version: 0.0.6-3build6
Section: universe/haskell