/var/lib/ghc/package.conf.d/neither-0.3.1.conf is in libghc-neither-dev 0.3.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 | name: neither
version: 0.3.1
id: neither-0.3.1-4e91ba6bcada29a443f90c579e32412b
license: BSD3
copyright:
maintainer: Michael Snoyman <michael@snoyman.com>
stability: Stable
homepage: http://github.com/snoyberg/neither
package-url:
synopsis: Provide versions of Either with good monad and applicative instances. (deprecated)
description: The standard Either datatype suffers from a lack of monad and applicative instances. To make matters worse, the mtl and transformers packages provide orphan instances which conflict with each other, as well as defining a transformer version which has an usually unnecessary superclass constraint.
.
Besides these annoyances, there is another issue: there exist two reasonable definitions of the Applicative instance for Either: one the holds onto only the first Left value, or one that appends all Left values together via a Monoid instance. The former is compatible with the monad instance, while the latter is not.
.
This package defines three datatypes, some helpers functions and instances. The data types are AEither, MEither and MEitherT. AEither provides an Applicative instance which appends Left values, MEither provides the monadic definition, and MEitherT is a monad transformer.
category: Data
author: Michael Snoyman <michael@snoyman.com>
exposed: True
exposed-modules: Data.Neither
hidden-modules:
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/neither-0.3.1/ghc-7.4.1
library-dirs: /usr/lib/haskell-packages/ghc/lib/neither-0.3.1/ghc-7.4.1
hs-libraries: HSneither-0.3.1
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702
failure-0.2.0-b496f287c86d46f9af260b3c883b83c1
transformers-0.2.2.0-367ec8196a45fab9903c082ddf1e964e
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/neither-0.3.1/neither.haddock
haddock-html: /usr/share/doc/libghc-neither-doc/html/
|