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

Last updated: May 13,2024

1. Install "libghc-hsx2hs-doc" package

In this section, we are going to explain the necessary steps to install libghc-hsx2hs-doc on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libghc-hsx2hs-doc" package

Learn how to uninstall libghc-hsx2hs-doc on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libghc-hsx2hs-doc
Priority: extra
Section: universe/doc
Installed-Size: 545
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: all
Source: haskell-hsx2hs
Version: 0.13.4-1build1
Depends: haddock-interface-27
Recommends: ghc-doc, libghc-src-exts-doc
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-doc_0.13.4-1build1_all.deb
Size: 52490
MD5sum: 30f7826b90347394d187fce41b8a4083
SHA1: e15c971326179200b1e40e59f7d4fe96b1682a76
SHA256: c80c815ffed82b14be4290f58ed156823ded90bd09974560c7d2927c849aeaf6
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
Homepage: https://github.com/seereason/hsx2hs
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu