How to Install and Uninstall libghc-hsx2hs-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "libghc-hsx2hs-dev" package

This guide covers the steps necessary to install libghc-hsx2hs-dev on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libghc-hsx2hs-dev" package

Please follow the guidance below to uninstall libghc-hsx2hs-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libghc-hsx2hs-dev package on Ubuntu 21.10 (Impish Indri)

Package: libghc-hsx2hs-dev
Architecture: amd64
Version: 0.14.1.8-1build5.1
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.1_amd64.deb
Size: 125258
MD5sum: 34268cd21f4c2bc23ab27f04492c5ed7
SHA1: 6c9e5b6afdd8420bdfc4b5b46d6407702fa4ab91
SHA256: 03ca8a0d1bc186fb06dc4f5b222f57ad3f450a50b15154e174503b0a93e4dba1
SHA512: 96f95a68cb0f542084a946929907ad2a56d12e9713cd12b3f86d5e201925ac84047864652a50d83f4e449588fa61ee45c8432520a8fc6b5d1d44741f8ec318dc
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