/var/lib/ghc/package.conf.d/semigroupoids-5.2.1.conf is in libghc-semigroupoids-dev 5.2.1-1build1.
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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | name: semigroupoids
version: 5.2.1
id: semigroupoids-5.2.1-AKaJCjEoMcj9BX2XEKbsji
key: semigroupoids-5.2.1-AKaJCjEoMcj9BX2XEKbsji
license: BSD3
copyright: Copyright (C) 2011-2015 Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/semigroupoids
synopsis: Semigroupoids: Category sans id
description:
Provides a wide array of (semi)groupoids and operations for working with them.
.
A 'Semigroupoid' is a 'Category' without the requirement of identity arrows for every object in the category.
.
A 'Category' is any 'Semigroupoid' for which the Yoneda lemma holds.
.
When working with comonads you often have the @\<*\>@ portion of an @Applicative@, but
not the @pure@. This was captured in Uustalu and Vene's \"Essence of Dataflow Programming\"
in the form of the @ComonadZip@ class in the days before @Applicative@. Apply provides a weaker invariant, but for the comonads used for data flow programming (found in the streams package), this invariant is preserved. Applicative function composition forms a semigroupoid.
.
Similarly many structures are nearly a comonad, but not quite, for instance lists provide a reasonable 'extend' operation in the form of 'tails', but do not always contain a value.
.
Ideally the following relationships would hold:
.
> Foldable ----> Traversable <--- Functor ------> Alt ---------> Plus Semigroupoid
> | | | | |
> v v v v v
> Foldable1 ---> Traversable1 Apply --------> Applicative -> Alternative Category
> | | | |
> v v v v
> Bind ---------> Monad -------> MonadPlus Arrow
>
.
Apply, Bind, and Extend (not shown) give rise the Static, Kleisli and Cokleisli semigroupoids respectively.
.
This lets us remove many of the restrictions from various monad transformers
as in many cases the binding operation or @\<*\>@ operation does not require them.
.
Finally, to work with these weaker structures it is beneficial to have containers
that can provide stronger guarantees about their contents, so versions of 'Traversable'
and 'Foldable' that can be folded with just a 'Semigroup' are added.
category: Control, Comonads
author: Edward A. Kmett
exposed: True
exposed-modules:
Data.Bifunctor.Apply Data.Functor.Alt Data.Functor.Apply
Data.Functor.Bind Data.Functor.Bind.Class Data.Functor.Bind.Trans
Data.Functor.Extend Data.Functor.Plus Data.Groupoid
Data.Isomorphism Data.Semigroup.Bifoldable
Data.Semigroup.Bitraversable Data.Semigroup.Foldable
Data.Semigroup.Foldable.Class Data.Semigroup.Traversable
Data.Semigroup.Traversable.Class Data.Semigroupoid
Data.Semigroupoid.Dual Data.Semigroupoid.Ob
Data.Semigroupoid.Static Data.Traversable.Instances
abi: 88152d699df2d8c72c62e3754c0bf337
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/semigroupoids-5.2.1-AKaJCjEoMcj9BX2XEKbsji
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/semigroupoids-5.2.1-AKaJCjEoMcj9BX2XEKbsji
dynamic-library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2
data-dir: /usr/share/semigroupoids
hs-libraries: HSsemigroupoids-5.2.1-AKaJCjEoMcj9BX2XEKbsji
depends:
base-4.9.1.0 base-orphans-0.6-AbJ3lKVXygDCG0eeQEv8Iu
bifunctors-5.4.2-D9NYUY1YNw7CNbta2tOtAS
comonad-5.0.2-FviO1UgjcPIKyXpgunIBeq containers-0.5.7.1
contravariant-1.4-A31d0eO2DKK3uYsrF3u2Wt
distributive-0.5.3-8Aa2gLuc3rs8DFlTqM6ayG
hashable-1.2.6.1-2ZLNuHq395GGIHwEHuqZol
semigroups-0.18.3-5xL9BgkWQsCGwo6YahyMCM
tagged-0.8.5-1gLLDW7b5mx8q35LxgIjIa transformers-0.5.2.0
transformers-compat-0.5.1.4-5q8NeWxMWFxK2dY7fuxXN9
unordered-containers-0.2.8.0-Bp9XgxjuHxcI4tFehVMDGC
haddock-interfaces: /usr/lib/ghc-doc/haddock/semigroupoids-5.2.1/semigroupoids.haddock
haddock-html: /usr/share/doc/libghc-semigroupoids-doc/html/
|