/var/lib/ghc/package.conf.d/bool-extras-0.4.0.conf is in libghc-bool-extras-dev 0.4.0-4.
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: bool-extras
version: 0.4.0
id: bool-extras-0.4.0-4f25e414d1447da5daf177526a74b839
key: boole_2uY2KSN0sNDKkxRgwJjRIW
license: BSD3
maintainer: Tom Lokhorst <tom@lokhorst.eu>
stability: Stable
homepage: http://tom.lokhorst.eu/bool-extras
synopsis: A fold function for Bool
description:
The `bool' function allows folding over boolean values.
.
This is comparable to the `maybe' or `either' functions
on their respective types.
.
The `bool' function is a replacement for the build-in
@if then else@-syntax. However, since it is a function, it
can be partially applied and passed around to higher order
functions, like so:
.
> ghci> :m + Data.Bool.Extras
> ghci> let yesOrNo = bool "no" "yes"
> ghci> map yesOrNo [True, False, True]
> ["yes", "no", "yes"]
.
Note that the arguments to `bool' are in the opposite order
of the @if then else@-syntax; First the false value, then
the true value, and finally the boolean.
category: Data
author: Erik Hesselink,
Jeroen Leeuwestein,
Tom Lokhorst,
Sebastiaan Visser
exposed: True
exposed-modules:
Data.Bool.Extras
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/bool-extras-0.4.0-2uY2KSN0sNDKkxRgwJjRIW
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/bool-extras-0.4.0-2uY2KSN0sNDKkxRgwJjRIW
data-dir: /usr/share/bool-extras
hs-libraries: HSbool-extras-0.4.0-2uY2KSN0sNDKkxRgwJjRIW
depends:
base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
haddock-interfaces: /usr/lib/ghc-doc/haddock/bool-extras-0.4.0/bool-extras.haddock
haddock-html: /usr/share/doc/libghc-bool-extras-doc/html/
|