/var/lib/ghc/package.conf.d/hamlet-0.10.8.conf is in libghc-hamlet-dev 0.10.8-1.
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 | name: hamlet
version: 0.10.8
id: hamlet-0.10.8-3360045134a083ee41281dc0f323d3df
license: BSD3
copyright:
maintainer: Michael Snoyman <michael@snoyman.com>
stability: Stable
homepage: http://www.yesodweb.com/book/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://docs.yesodweb.com/book/hamlet/> 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/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-0.10.8/ghc-7.4.1
library-dirs: /usr/lib/haskell-packages/ghc/lib/hamlet-0.10.8/ghc-7.4.1
hs-libraries: HShamlet-0.10.8
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702
blaze-builder-0.3.1.0-e50712ba78a6f8dc0c2caa4ee4b0c878
blaze-html-0.4.3.1-e5ba945c2aebb8cf63aa594a504cefb8
bytestring-0.9.2.1-18f26186028d7c0e92e78edc9071d376
containers-0.4.2.1-cfc6420ecc2194c9ed977b06bdfd9e69
failure-0.2.0-b496f287c86d46f9af260b3c883b83c1
parsec-3.1.2-a6715965b792ffb81aeb3b18e0c709ac
process-1.1.0.1-18dadd8ad5fc640f55a7afdc7aace500
shakespeare-0.10.3.1-d14a08f86b0419118171595090897948
template-haskell-2.7.0.0-8c8cd20e21666657195efabced685fe1
text-0.11.1.13-9b63b6813ed4eef16b7793151cdbba4d
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/hamlet-0.10.8/hamlet.haddock
haddock-html: /usr/share/doc/libghc-hamlet-doc/html/
|