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

Last updated: May 20,2024

1. Install "libghc-enumerator-prof" package

This tutorial shows how to install libghc-enumerator-prof on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libghc-enumerator-prof" package

This guide let you learn how to uninstall libghc-enumerator-prof on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libghc-enumerator-prof
Priority: extra
Section: universe/haskell
Installed-Size: 1984
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: amd64
Source: haskell-enumerator
Version: 0.4.20-4build1
Provides: libghc-enumerator-prof-0.4.20-9ff53
Depends: libghc-enumerator-dev (= 0.4.20-4build1), libghc-base-prof-4.8.2.0-0d6d1, libghc-bytestring-prof-0.10.6.0-9a873, libghc-containers-prof-0.5.6.2-59326, libghc-text-prof-1.2.2.0-2c09c, libghc-transformers-prof-0.4.2.0-81450
Filename: pool/universe/h/haskell-enumerator/libghc-enumerator-prof_0.4.20-4build1_amd64.deb
Size: 187074
MD5sum: d5a3772c7ed906e320723093484d5517
SHA1: 7bda09c5bdaad3980f58d4a6e4e6ee7b93ae980e
SHA256: 74b8e9b46d343c001cd21e2fed7f3264e8df3ed739e7f00e2e30b5c5885bedc0
Description-en: high-performance left-fold enumerators; profiling libraries
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, compiled
for profiling. See http://www.haskell.org/ for more information on Haskell.
Description-md5: 6b5789d53c1ae7767717f011b34180ec
Homepage: https://john-millikin.com/software/enumerator/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions