/var/lib/ghc/package.conf.d/async-2.1.1.1.conf is in libghc-async-dev 2.1.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | name: async
version: 2.1.1.1
id: async-2.1.1.1-8yywY4inVGRLJSCg60gBXj
key: async-2.1.1.1-8yywY4inVGRLJSCg60gBXj
license: BSD3
copyright: (c) Simon Marlow 2012
maintainer: Simon Marlow <marlowsd@gmail.com>
homepage: https://github.com/simonmar/async
synopsis: Run IO operations asynchronously and wait for their results
description:
This package provides a higher-level interface over
threads, in which an @Async a@ is a concurrent
thread that will eventually deliver a value of
type @a@. The package provides ways to create
@Async@ computations, wait for their results, and
cancel them.
.
Using @Async@ is safer than using threads in two
ways:
.
* When waiting for a thread to return a result,
if the thread dies with an exception then the
caller must either re-throw the exception
('wait') or handle it ('waitCatch'); the
exception cannot be ignored.
.
* The API makes it possible to build a tree of
threads that are automatically killed when
their parent dies (see 'withAsync').
category: Concurrency
author: Simon Marlow
exposed: True
exposed-modules:
Control.Concurrent.Async
abi: a35d4cde09ab9003142c9196fed9875e
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/async-2.1.1.1-8yywY4inVGRLJSCg60gBXj
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/async-2.1.1.1-8yywY4inVGRLJSCg60gBXj
dynamic-library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2
data-dir: /usr/share/async
hs-libraries: HSasync-2.1.1.1-8yywY4inVGRLJSCg60gBXj
depends:
base-4.9.1.0 stm-2.4.4.1-JQn4hNPyYjP5m9AcbI88Ve
haddock-interfaces: /usr/lib/ghc-doc/haddock/async-2.1.1.1/async.haddock
haddock-html: /usr/share/doc/libghc-async-doc/html/
|