Install libghc-megaparsec-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-megaparsec-dev
Description:
monadic parser combinators
This is industrial-strength monadic parser combinator library. Megaparsec is a fork of Parsec library originally written by Daan Leijen. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.
Homepage: https://github.com/mrkkrp/megaparsec
Version: 5.3.1-1build1
Section: universe/haskell