/var/lib/ghc/package.conf.d/free-4.12.1.conf is in libghc-free-dev 4.12.1-2build1.
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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | name: free
version: 4.12.1
id: free-4.12.1-ad82e11832dd3624d7629a0543331400
key: free_3oFV10N8Slg6CAxRoyaSVG
license: BSD3
copyright: Copyright (C) 2008-2015 Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/free/
synopsis: Monads for free
description:
Free monads are useful for many tree-like structures and domain specific languages.
.
If @f@ is a 'Functor' then the free 'Monad' on @f@ is the type
of trees whose nodes are labeled with the constructors of @f@. The word
\"free\" is used in the sense of \"unrestricted\" rather than \"zero-cost\":
@Free f@ makes no constraining assumptions beyond those given by @f@ and the
definition of 'Monad'. As used here it is a standard term from the
mathematical theory of adjoint functors.
.
Cofree comonads are dual to free monads. They provide convenient ways to talk
about branching streams and rose-trees, and can be used to annotate syntax
trees. The cofree comonad can be seen as a stream parameterized by a 'Functor'
that controls its branching factor.
.
More information on free monads, including examples, can be found in the
following blog posts:
<http://comonad.com/reader/2008/monads-for-free/>
<http://comonad.com/reader/2011/free-monads-for-less/>
category: Control, Monads
author: Edward A. Kmett
exposed: True
exposed-modules:
Control.Applicative.Free Control.Applicative.Free.Final
Control.Applicative.Trans.Free Control.Alternative.Free
Control.Alternative.Free.Final Control.Comonad.Cofree
Control.Comonad.Cofree.Class Control.Comonad.Trans.Cofree
Control.Comonad.Trans.Coiter Control.Monad.Free
Control.Monad.Free.Church Control.Monad.Free.Class
Control.Monad.Free.TH Control.Monad.Trans.Free
Control.Monad.Trans.Free.Church Control.Monad.Trans.Iter
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/free-4.12.1-3oFV10N8Slg6CAxRoyaSVG
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/free-4.12.1-3oFV10N8Slg6CAxRoyaSVG
data-dir: /usr/share/free
hs-libraries: HSfree-4.12.1-3oFV10N8Slg6CAxRoyaSVG
depends:
base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
bifunctors-5.1-6066ffb58d3c88ee29cabccd21c869e0
comonad-4.2.7.2-3ce8d4da7fa0772a6896e34966acad72
distributive-0.4.4-bb01cbb0c133843286b9581b270abd0b
exceptions-0.8.0.2-36aed52be619b9728d2571e1d453a5a5
mtl-2.2.1-3af90341e75ee52dfc4e3143b4e5d219
prelude-extras-0.4.0.2-7664b01189861d05696ff412cd9c7a26
profunctors-5.1.2-1408da4e15bf985231d06474259a0a9a
semigroupoids-5.0.0.4-0fab8c80f8dee7e092f94a58b49c66d7
semigroups-0.18.0.1-8280af83a74b71fe859e6151e1ac901a
template-haskell-2.10.0.0-3c4cb52230f347282af9b2817f013181
transformers-0.4.2.0-81450cd8f86b36eaa8fa0cbaf6efc3a3
haddock-interfaces: /usr/lib/ghc-doc/haddock/free-4.12.1/free.haddock
haddock-html: /usr/share/doc/libghc-free-doc/html/
|