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

Last updated: May 20,2024

1. Install "libghc-enumerator-dev" package

Please follow the instructions below to install libghc-enumerator-dev on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libghc-enumerator-dev" package

This is a short guide on how to uninstall libghc-enumerator-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libghc-enumerator-dev
Priority: extra
Section: universe/haskell
Installed-Size: 2145
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: amd64
Source: haskell-enumerator
Version: 0.4.20-4build1
Provides: libghc-enumerator-dev-0.4.20-9ff53
Depends: libghc-base-dev-4.8.2.0-0d6d1, libghc-bytestring-dev-0.10.6.0-9a873, libghc-containers-dev-0.5.6.2-59326, libghc-text-dev-1.2.2.0-2c09c, libghc-transformers-dev-0.4.2.0-81450, libc6 (>= 2.2.5)
Suggests: libghc-enumerator-doc, libghc-enumerator-prof
Filename: pool/universe/h/haskell-enumerator/libghc-enumerator-dev_0.4.20-4build1_amd64.deb
Size: 210218
MD5sum: 330568faab44b03df9c4fdcc7f7c4827
SHA1: 31e14c9f7db1376844a7791e9418a27c2a3ec59f
SHA256: 50b20b51145fb7ea667044541604985800dd34a616cc5b6a08ca53be90269dbf
Description-en: high-performance left-fold enumerators
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 a library for the Haskell programming language.
See http://www.haskell.org/ for more information on Haskell.
Description-md5: dad793eb1a4138b99c529904f5d0d47f
Homepage: https://john-millikin.com/software/enumerator/
Ghc-Package: enumerator-0.4.20-9ff534bb7be995a94db6f91304a67041
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions