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

Last updated: May 20,2024

1. Install "libghc-enumerator-doc" package

Learn how to install libghc-enumerator-doc on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libghc-enumerator-doc" package

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

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

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

Package: libghc-enumerator-doc
Priority: extra
Section: universe/doc
Installed-Size: 1542
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: all
Source: haskell-enumerator
Version: 0.4.20-4build1
Depends: haddock-interface-27
Recommends: ghc-doc, libghc-text-doc
Filename: pool/universe/h/haskell-enumerator/libghc-enumerator-doc_0.4.20-4build1_all.deb
Size: 87508
MD5sum: 2b2695a77abaec2c835ec8d435b2e4ee
SHA1: 7896a159bf10a32c65e02236895e39f2030069a7
SHA256: 473fb9c2d414fe8678bf940cb139ab2c77a14b84dc1c72a304fc6956126ac302
Description-en: high-performance left-fold enumerators; documentation
Typical buffer–based incremental I/O is based around a single loop,
which reads data from some source (such as a socket or file),
transforms it, and generates one or more outputs (such as a line
count, HTTP responses, or modified file). Although efficient and
safe, these loops are all single–purpose; it is difficult or
impossible to compose buffer–based processing loops.
.
Haskell's concept of "lazy I/O" allows pure code to operate on data
from an external source. However, lazy I/O has several shortcomings.
Most notably, resources such as memory and file handles can be
retained for arbitrarily long periods of time, causing unpredictable
performance and error conditions.
.
Enumerators are an efficient, predictable, and safe alternative to
lazy I/O. Discovered by Oleg Kiselyov, they allow large datasets to
be processed in near–constant space by pure code. Although somewhat
more complex to write, using enumerators instead of lazy I/O
produces more correct programs.
.
This library contains an enumerator implementation for Haskell,
designed to be both simple and efficient. Three core types are
defined, along with numerous helper functions:
.
Iteratee: Data sinks, analogous to left folds. Iteratees consume
a sequence of input values, and generate a single output value. Many
iteratees are designed to perform side effects (such as printing to
stdout), so they can also be used as monad transformers.
.
Enumerator: Data sources, which generate input sequences. Typical
enumerators read from a file handle, socket, random number generator,
or other external stream. To operate, enumerators are passed an
iteratee, and provide that iteratee with input until either the
iteratee has completed its computation, or EOF.
.
Enumeratee: Data transformers, which operate as both enumerators
and iteratees. Enumeratees read from an outer enumerator, and
provide the transformed data to an inner iteratee.
.
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: 78d6cbfafc3f2e005afce314782691e0
Homepage: https://john-millikin.com/software/enumerator/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions