/var/lib/ghc/package.conf.d/hamlet-1.1.9.2.conf is in libghc-hamlet-dev 1.1.9.2-1+b4.
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 | name: hamlet
version: 1.1.9.2
id: hamlet-1.1.9.2-c9d250668cb7121b4080d3a83e604531
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.9.2/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/hamlet-1.1.9.2/ghc-7.6.3
hs-libraries: HShamlet-1.1.9.2
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
blaze-builder-0.3.3.2-218a42248e93dd9cae8208aaf882209a
blaze-html-0.7.0.2-b36b781af8b0a695bedd8fac8bbaf2eb
blaze-markup-0.6.1.0-84a64e5c04b9071868f8c6a9627d0f33
bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f
containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2
failure-0.2.0.3-3a35bfb41efcd89f1f8ed8fd864dc3ef
parsec-3.1.3-6c6e21cb4ed4ef9d58fdf442940b152e
process-1.1.0.2-76e05340eb66705981411022731ca84a
shakespeare-1.2.1.1-7be0fb4f3c8cab7e6fda7564cb4c3023
system-fileio-0.3.11-2161f4dc96f74c7ca23566fe3005c9b6
system-filepath-0.4.12-b37836acc4fa4fb9d9b7dd01fee1d201
template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d
text-0.11.3.1-e38859e86485c167fa7c9441789e7607
time-1.4.0.1-10dc4804a19dc0000fab79908f1a9f50
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/hamlet-1.1.9.2/hamlet.haddock
haddock-html: /usr/share/doc/libghc-hamlet-doc/html/
|