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

Last updated: May 15,2024

1. Install "libghc-hsx2hs-doc" package

Please follow the guidance below to install libghc-hsx2hs-doc on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libghc-hsx2hs-doc" package

Here is a brief guide to show you how to uninstall libghc-hsx2hs-doc on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: libghc-hsx2hs-doc
Architecture: all
Version: 0.14.1.8-1build5
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: 1491
Depends: haddock-interface-35
Recommends: libghc-src-exts-doc, libjs-mathjax
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-doc_0.14.1.8-1build5_all.deb
Size: 89336
MD5sum: 21a08ddeb1e9c6d113b74a50bc0f1d70
SHA1: ee736c1c856911b01401c084a4d90cb615cc1d91
SHA256: 3202d6cce3e57cbe85535a0eb355c1f19dc6c394393ada209591b27eaa8d02a7
SHA512: 8ca8fd924aac8a759c4ff7213d2518d8d841e0593de92f10f7a85d91b3789afcc069e5ad435a20106dcbea1146e148bcbb36a9b881a8fd9c50d9996ee5aff797
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