How to Install and Uninstall libghc-hsx2hs-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "libghc-hsx2hs-dev" package

This guide covers the steps necessary to install libghc-hsx2hs-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libghc-hsx2hs-dev

2. Uninstall "libghc-hsx2hs-dev" package

Please follow the step by step instructions below to uninstall libghc-hsx2hs-dev on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libghc-hsx2hs-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libghc-hsx2hs-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libghc-hsx2hs-dev
Priority: extra
Section: universe/haskell
Installed-Size: 860
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: amd64
Source: haskell-hsx2hs
Version: 0.13.4-1build1
Provides: libghc-hsx2hs-dev-0.13.4-54312
Depends: libghc-base-dev-4.8.2.0-0d6d1, libghc-bytestring-dev-0.10.6.0-9a873, libghc-haskell-src-exts-dev-1.17.1-5b24e, libghc-haskell-src-meta-dev-0.6.0.13-f17d1, libghc-mtl-dev-2.2.1-3af90, libghc-template-haskell-dev-2.10.0.0-3c4cb, libghc-utf8-string-dev-1.0.1.1-09f69, libc6 (>= 2.2.5)
Suggests: libghc-hsx2hs-doc, libghc-hsx2hs-prof
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-dev_0.13.4-1build1_amd64.deb
Size: 103688
MD5sum: 517b10ce60e9ed92283f07e0c901fb18
SHA1: c6718ec19152049849bb5410d81ddd59db794a1d
SHA256: 3de7e8f8f37dbdddc177234e27da96f251c2b3c27ca33bbe3a9a7fade7b93b6b
Description-en: literal XML syntax in Haskell source code
HSX (Haskell Source with XML) allows literal XML syntax in Haskell
source code. The hsx2hs preprocessor translates .hsx source files
into ordinary .hs files. Literal XML syntax is translated into
function calls for creating XML values of the appropriate forms.
hsx2hs transforms literal XML syntax into a series of function calls.
Any project can make use of the syntax by providing definitions for
those functions, and the XML values produced will be of the types
specified. This works for any types, since hsx2hs doesn't make any
assumptions, or inserts any information depending on types.
XMLGenerator defines a few typeclasses that together cover the
functions injected by the preprocessor. A project that uses these
classes to provide the semantics for the injected syntax will be
able to use any functions written in terms of these, allowing
better code reusability than if each project defines its own
semantics for the XML syntax. Also, the classes makes it possible
to use the literal syntax at different types within the same module.
Achieving that is not as simple as it may seem, but the XMLGenerator
module provides all the necessary machinery.
.
This package provides a library for the Haskell programming language.
See http://www.haskell.org/ for more information on Haskell.
Description-md5: 00fc23ba08ac227cfff078e29dd26a65
Homepage: https://github.com/seereason/hsx2hs
Ghc-Package: hsx2hs-0.13.4-543129334a3732272b4f260d345764da
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu