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

Last updated: October 05,2024

1. Install "libghc-hsx2hs-prof" package

This is a short guide on how to install libghc-hsx2hs-prof on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "libghc-hsx2hs-prof" package

This tutorial shows how to uninstall libghc-hsx2hs-prof on Ubuntu 21.10 (Impish Indri):

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

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

Package: libghc-hsx2hs-prof
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: 1253
Provides: libghc-hsx2hs-prof-0.14.1.8-8f168
Depends: libghc-hsx2hs-dev (= 0.14.1.8-1build5.1), libghc-base-prof-4.13.0.0-2f220, libghc-bytestring-prof-0.10.10.1-c40ee, libghc-haskell-src-exts-prof-1.23.1-26f39, libghc-haskell-src-meta-prof-0.8.5-52ea1, libghc-mtl-prof-2.2.2-7208c, libghc-template-haskell-prof-2.15.0.0-80f0d, libghc-utf8-string-prof-1.0.1.1-866d7
Filename: pool/universe/h/haskell-hsx2hs/libghc-hsx2hs-prof_0.14.1.8-1build5.1_amd64.deb
Size: 134684
MD5sum: 24f08b1fed21ad88cf0c54691d3a7396
SHA1: c2ac8b1d7dc564d9781381ba8b1995066c531ebb
SHA256: 0ee7b62a4bf98d6c3d542c59d4cf0b1f043ced10e597b3797a7b1846ef8e69ac
SHA512: 5519b7b78abd29aee76cd61bec645e27c37497b51b9974cce4b9ccbab5fbe94ab405cbc6956a098eaf5f7aa38f0caee01cd81fd50f369bb8520fce9de6727b02
Homepage: https://github.com/seereason/hsx2hs
Description-en: literal XML syntax in Haskell source code; profiling libraries
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, compiled
for profiling. See http://www.haskell.org/ for more information on Haskell.
Description-md5: 92678da5fcf193aad68cd729872d3ffc