/var/lib/ghc/package.conf.d/hsx2hs-0.14.1.1.conf is in libghc-hsx2hs-dev 0.14.1.1-1build2.
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: hsx2hs
version: 0.14.1.1
id: hsx2hs-0.14.1.1-G1LW2Lzp9LV4rDPXjOVWHH
key: hsx2hs-0.14.1.1-G1LW2Lzp9LV4rDPXjOVWHH
license: BSD3
maintainer: Jeremy Shaw <stepcut@n-heptane.com>
stability: Experimental
homepage: https://github.com/seereason/hsx2hs
synopsis: HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code.
description:
HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code.
The hsx2hs preprocessor translates .hsx source files into ordinary .hs files. Literal
XML syntax is translated into function calls for creating XML values of the appropriate
forms.
hsx2hs transforms literal XML syntax into a series of function calls. Any project
can make use of the syntax by providing definitions for those functions, and the
XML values produced will be of the types specified. This works for any types, since
hsx2hs doesn't make any assumptions, or inserts any information depending on types.
XMLGenerator defines a few typeclasses that together cover the functions injected by the
preprocessor. A project that uses these classes to provide the semantics for the injected
syntax will be able to use any functions written in terms of these, allowing better code
reusability than if each project defines its own semantics for the XML syntax. Also, the classes
makes it possible to use the literal syntax at different types within the same module.
Achieving that is not as simple as it may seem, but the XMLGenerator module provides all the
necessary machinery.
category: Language
author: Niklas Broberg, Joel Bjornson
exposed: True
exposed-modules:
Language.Haskell.HSX.Transform Language.Haskell.HSX.QQ
abi: 25caae16052d913646b8718091ad17b9
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/hsx2hs-0.14.1.1-G1LW2Lzp9LV4rDPXjOVWHH
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2/hsx2hs-0.14.1.1-G1LW2Lzp9LV4rDPXjOVWHH
dynamic-library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.2
data-dir: /usr/share/hsx2hs
hs-libraries: HShsx2hs-0.14.1.1-G1LW2Lzp9LV4rDPXjOVWHH
depends:
base-4.9.1.0 bytestring-0.10.8.1
haskell-src-exts-1.18.2-Kjop5wIioOPX4MdOWk71u
haskell-src-meta-0.8.0.1-LPTH8wLObXW6BZLfNFjcgA
mtl-2.2.1-BLKBelFsPB3BoFeSWSOYj6 template-haskell-2.11.1.0
utf8-string-1.0.1.1-1DpjxLeTvGg7ttZZojxJR5
haddock-interfaces: /usr/lib/ghc-doc/haddock/hsx2hs-0.14.1.1/hsx2hs.haddock
haddock-html: /usr/share/doc/libghc-hsx2hs-doc/html/
|