/var/lib/ghc/package.conf.d/hamlet-1.1.7.1.conf is in libghc-hamlet-dev 1.1.7.1-1build3.
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 | name: hamlet
version: 1.1.7.1
id: hamlet-1.1.7.1-80b0a545b2680f8e55d5a13fc8a19e71
license: MIT
copyright:
maintainer: Michael Snoyman <michael@snoyman.com>
stability: Stable
homepage: http://www.yesodweb.com/book/shakespearean-templates
package-url:
synopsis: Haml-like template files that are compile-time checked
description: Hamlet gives you a type-safe tool for generating HTML code. It works via Quasi-Quoting, and generating extremely efficient output code. The syntax is white-space sensitive, and it helps you avoid cross-site scripting issues and 404 errors. Please see the documentation at <http://www.yesodweb.com/book/shakespearean-templates> for more details.
.
Here is a quick overview of hamlet html. Due to haddock escaping issues, we can't properly show variable insertion, but we are still going to show some conditionals. Please see <http://www.yesodweb.com/book/shakespearean-templates> for a thorough description
.
> !!!
> <html>
> <head>
> <title>Hamlet Demo
> <body>
> <h1>Information on John Doe
> <h2>
> $if isMarried person
> Married
> $else
> Not married
category: Web, Yesod
author: Michael Snoyman <michael@snoyman.com>
exposed: True
exposed-modules: Text.Hamlet Text.Hamlet.RT
hidden-modules: Text.Hamlet.Parse
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/hamlet-1.1.7.1/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/hamlet-1.1.7.1/ghc-7.6.3
hs-libraries: HShamlet-1.1.7.1
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
blaze-builder-0.3.3.0-c4811f3b9aa33d6ba7b3cb73255068c1
blaze-html-0.6.1.2-a198dd5301113f2efb92692a58f025f2
blaze-markup-0.5.1.6-bae8355a6c5ec5580808b59dd47b41e0
bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f
containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2
failure-0.2.0.1-ee8e9a2415f22c9bd5450f642801e474
parsec-3.1.3-6c6e21cb4ed4ef9d58fdf442940b152e
process-1.1.0.2-76e05340eb66705981411022731ca84a
shakespeare-1.0.2-a8df0efc4fad121e120c0f308660531d
template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d
text-0.11.3.1-e38859e86485c167fa7c9441789e7607
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/hamlet-1.1.7.1/hamlet.haddock
haddock-html: /usr/share/doc/libghc-hamlet-doc/html/
|