How to Install libghc-http-media-dev in Ubuntu 18.04



Install libghc-http-media-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libghc-http-media-dev

Description:

processing HTTP Content-Type and Accept headers

This library is intended to be a comprehensive solution to parsing and selecting quality-indexed values in HTTP headers. It is capable of parsing both media types and language parameters from the Accept and Content header families, and can be extended to match against other accept headers as well. Selecting the appropriate header value is achieved by comparing a list of server options against the quality-indexed values supplied by the client. . This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Homepage: https://github.com/zmthy/http-media

Version: 0.6.4-3build5

Section: universe/haskell