/var/lib/ghc/package.conf.d/flexible-defaults-0.0.1.2.conf is in libghc-flexible-defaults-dev 0.0.1.2-3build3.
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 | name: flexible-defaults
version: 0.0.1.2
id: flexible-defaults-0.0.1.2-B2NGB3M8NzXLvlXoa1QwNo
key: flexible-defaults-0.0.1.2-B2NGB3M8NzXLvlXoa1QwNo
license: PublicDomain
maintainer: James Cook <mokus@deepbondi.net>
stability: provisional
homepage: https://github.com/mokus0/flexible-defaults
synopsis: Generate default function implementations for complex type classes.
description:
Template Haskell code to implement default implementations
for type-class functions based on which functions are
already implemented. Currently extremely crude but
still fairly effective.
.
When defining a type class with many functions, each
of which can be implemented based on arbitrary subsets
of the others, the standard default-implementation
concept breaks down quite badly. This library provides
a system by which more complex rules can be described
for choosing default implementations based on which
ones the user supplies. These implementations can
additionally be given \"suitability scores\", so that
when multiple possible choices could be made, the
library can choose the \"best\" one.
category: Code Generation, Template Haskell
author: James Cook <mokus@deepbondi.net>
exposed: True
exposed-modules:
Language.Haskell.TH.FlexibleDefaults
hidden-modules: Language.Haskell.TH.FlexibleDefaults.DSL
Language.Haskell.TH.FlexibleDefaults.Solve
abi: 770469a85e7c483b7d1acea4e27d909e
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/flexible-defaults-0.0.1.2-B2NGB3M8NzXLvlXoa1QwNo
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/flexible-defaults-0.0.1.2-B2NGB3M8NzXLvlXoa1QwNo
dynamic-library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2
data-dir: /usr/share/flexible-defaults
hs-libraries: HSflexible-defaults-0.0.1.2-B2NGB3M8NzXLvlXoa1QwNo
depends:
base-4.9.1.0 containers-0.5.7.1 template-haskell-2.11.1.0
th-extras-0.0.0.4-C6W7PIi8i4f9tOu531iytM transformers-0.5.2.0
haddock-interfaces: /usr/lib/ghc-doc/haddock/flexible-defaults-0.0.1.2/flexible-defaults.haddock
haddock-html: /usr/share/doc/libghc-flexible-defaults-doc/html/
|