How to Install and Uninstall libghc-hsx2hs-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "libghc-hsx2hs-dev" package

Learn how to install libghc-hsx2hs-dev on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libghc-hsx2hs-dev" package

This guide covers the steps necessary to uninstall libghc-hsx2hs-dev on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libghc-hsx2hs-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: libghc-hsx2hs-dev
Architecture: amd64
Version: 0.14.1.8-1build5
Priority: extra
Section: universe/haskell
Source: haskell-hsx2hs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 940
Provides: libghc-hsx2hs-dev-0.14.1.8-8f168
Depends: libghc-base-dev-4.13.0.0-2f220, libghc-bytestring-dev-0.10.10.1-c40ee, libghc-haskell-src-exts-dev-1.23.1-26f39, libghc-haskell-src-meta-dev-0.8.5-52ea1, libghc-mtl-dev-2.2.2-7208c, libghc-template-haskell-dev-2.15.0.0-80f0d, libghc-utf8-string-dev-1.0.1.1-866d7, libc6 (>= 2.2.5), libgmp10
Suggests: libghc-hsx2hs-doc, libghc-hsx2hs-prof
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-dev_0.14.1.8-1build5_amd64.deb
Size: 112464
MD5sum: 3abe24ce989241d2612f93a825094b24
SHA1: a49778016a7926be61a713ff452f927388f1476a
SHA256: 161ee97f73fd8385e8082b2699fece0f79cab4a731bf630deb59b96b116f1137
SHA512: a14d7ff61d06169e9313180aa6ae9e92692ac79a3d3ec764a96dc6ca772b71cf6883371b4a6c7c7cbfc703dfc86aeadb5f95ea9722d18e46ef3a21be34ce8461
Homepage: https://github.com/seereason/hsx2hs
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
Ghc-Package: hsx2hs-0.14.1.8-BzBccJ32xf2Bv6oKn9D3HK