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

Last updated: May 20,2024

1. Install "libghc-hsx2hs-doc" package

Please follow the guidance below to install libghc-hsx2hs-doc on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libghc-hsx2hs-doc" package

In this section, we are going to explain the necessary steps to uninstall libghc-hsx2hs-doc on Ubuntu 21.10 (Impish Indri):

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

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

Package: libghc-hsx2hs-doc
Architecture: all
Version: 0.14.1.8-1build5.1
Priority: extra
Section: universe/doc
Source: haskell-hsx2hs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1556
Depends: haddock-interface-35
Recommends: ghc-doc, libghc-src-exts-doc, libjs-mathjax
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-doc_0.14.1.8-1build5.1_all.deb
Size: 87590
MD5sum: a6c506ec0cf815496ee310b6a8eb965a
SHA1: 2bd8bc4949f7243875740a74870f0e5f9945649c
SHA256: f8b969622b2e7cb660f4551e60e327e288d6cc76df0b9d454acaff7339e5a5a2
SHA512: 82d2c193bb036c04f6ce8eccfd4a06b1c0263adabae9ccb62e047119993fc66dcfd03bd27c2be2e0edfd8efd34ff266a017343ea7b652afe7183849511ae6cf2
Homepage: https://github.com/seereason/hsx2hs
Description-en: literal XML syntax in Haskell source code; documentation
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 the documentation for a library for the Haskell
programming language.
See http://www.haskell.org/ for more information on Haskell.
Description-md5: cbebed8b3a307fcc44efb188d799cdbf