blob: 63b0025d08a566240329c84d82682930363212d2 (
plain) (
blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<html xmlns="http://www.w3.org/1999/xhtml"
><head
><link rel="stylesheet" type="text/css" href="style.css"
/><script type="text/javascript" src="highlight.js"
></script
></head
><body
><pre
><span class="hs-pragma"
>{-# LANGUAGE TemplateHaskell #-}</span
><span
>
</span
><span id="line-2"
></span
><span class="hs-keyword"
>module</span
><span
> </span
><span class="hs-identifier"
>TemplateHaskellSplices</span
><span
> </span
><span class="hs-keyword"
>where</span
><span
>
</span
><span id="line-3"
></span
><span
>
</span
><span id="line-4"
></span
><span class="hs-keyword"
>import</span
><span
> </span
><span class="annot"
><a href="TemplateHaskellQuasiquotes.html"
><span class="hs-identifier"
>TemplateHaskellQuasiquotes</span
></a
></span
><span
>
</span
><span id="line-5"
></span
><span
>
</span
><span id="line-6"
></span
><span class="hs-special"
>$</span
><span id="bar"
><span class="hs-special"
>(</span
><span class="hs-identifier"
>aDecl</span
><span class="hs-special"
>)</span
></span
><span
>
</span
><span id="line-7"
></span
><span
>
</span
><span id="line-8"
></span
><span id="foo"
><span class="annot"
><span class="annottext"
>foo :: Integer
</span
><a href="TemplateHaskellSplices.html#foo"
><span class="hs-identifier hs-var hs-var"
>foo</span
></a
></span
></span
><span
> </span
><span class="hs-glyph"
>=</span
><span
> </span
><span class="annot"
><span class="annottext"
>Integer -> Integer
forall a. a -> a
</span
><span class="hs-identifier hs-var"
>id</span
></span
><span
> </span
><span class="hs-special"
>$</span
><span class="hs-special"
>(</span
><span class="hs-identifier"
>anExpression2</span
><span class="hs-special"
>)</span
><span
>
</span
><span id="line-9"
></span
></pre
></body
></html
>
|