How to Install cpphs in Ubuntu 18.04



Install cpphs by entering the following commands in the terminal:

sudo apt update
sudo apt install cpphs

Description:

Simplified cpp-a-like preprocessor for Haskell

The C pre-processor has been widely used in Haskell source code. It enables conditional compilation for different compilers, different versions of the same compiler, and different OS platforms. It is also occasionally used for its macro language, which can enable certain forms of platform-specific detail-filling, such as the tedious boilerplate generation of instance definitions and FFI declarations. . However, gcc's cpp has recently been evolving to more strictly adhere to the C standard. This has had the effect of making it increasingly incompatible with Haskell's syntax. This is a cpp-a-like designed with Haskell's syntax in mind.

Homepage: http://projects.haskell.org/cpphs/

Version: 1.20.8-1

Section: universe/devel