Install libghc-aeson-compat-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-aeson-compat-dev
Description:
Compatibility layer for aeson
Compatibility layer for aeson * decode etc. work as in aeson >=0.9 * but it is generalised to work in any MonadThrow (that is extra) * .:? works as in aeson <0.10 * .:! works as .:? in aeson ==0.10 * Orphan instances FromJSON Day and FromJSON LocalTime for aeson <0.10 . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: https://github.com/phadej/aeson-compat#readme
Version: 0.3.6-6build1
Section: universe/haskell