@@ -68,6 +68,18 @@ qn = QuasiQuoter Parsers.qn
68
68
-- baz |] -- "foo\\nbar\\nbaz"
69
69
-- @
70
70
--
71
+ -- Keep in mind that this example:
72
+ --
73
+ -- @
74
+ -- ['qmb'|
75
+ -- foo
76
+ -- bar
77
+ -- |]
78
+ -- @
79
+ --
80
+ -- Won't produce @"foo\\nbar\\n"@ nor @"\\nfor\\nbar\\n"@ but @"foo\\nbar"@, it
81
+ -- means it separates "between" the lines not by edges.
82
+ --
71
83
qmb :: QuasiQuoter
72
84
qmb = QuasiQuoter Parsers. qmb
73
85
(error " Cannot use 'qmb' as a pattern" )
@@ -83,6 +95,19 @@ qmb = QuasiQuoter Parsers.qmb
83
95
-- {'b':'a':'r':""}
84
96
-- baz |] -- "foo\\n{'b':'a':'r':\\"\\"}\\nbaz"
85
97
-- @
98
+ --
99
+ -- Keep in mind that this example:
100
+ --
101
+ -- @
102
+ -- ['qnb'|
103
+ -- foo
104
+ -- bar
105
+ -- |]
106
+ -- @
107
+ --
108
+ -- Won't produce @"foo\\nbar\\n"@ nor @"\\nfor\\nbar\\n"@ but @"foo\\nbar"@, it
109
+ -- means it separates "between" the lines not by edges.
110
+ --
86
111
qnb :: QuasiQuoter
87
112
qnb = QuasiQuoter Parsers. qnb
88
113
(error " Cannot use 'qnb' as a pattern" )
@@ -97,6 +122,19 @@ qnb = QuasiQuoter Parsers.qnb
97
122
-- {'b':'a':'r':""}
98
123
-- baz |] -- "foo bar baz"
99
124
-- @
125
+ --
126
+ -- Keep in mind that this example:
127
+ --
128
+ -- @
129
+ -- ['qms'|
130
+ -- foo
131
+ -- bar
132
+ -- |]
133
+ -- @
134
+ --
135
+ -- Won't produce @"foo bar "@ nor @" for bar "@ but @"foo bar"@, it
136
+ -- means it separates "between" the lines not by edges.
137
+ --
100
138
qms :: QuasiQuoter
101
139
qms = QuasiQuoter Parsers. qms
102
140
(error " Cannot use 'qms' as a pattern" )
@@ -113,6 +151,19 @@ qms = QuasiQuoter Parsers.qms
113
151
-- {'b':'a':'r':""}
114
152
-- baz |] -- "foo {'b':'a':'r':\\"\\"} baz"
115
153
-- @
154
+ --
155
+ -- Keep in mind that this example:
156
+ --
157
+ -- @
158
+ -- ['qns'|
159
+ -- foo
160
+ -- bar
161
+ -- |]
162
+ -- @
163
+ --
164
+ -- Won't produce @"foo bar "@ nor @" for bar "@ but @"foo bar"@, it
165
+ -- means it separates "between" the lines not by edges.
166
+ --
116
167
qns :: QuasiQuoter
117
168
qns = QuasiQuoter Parsers. qns
118
169
(error " Cannot use 'qns' as a pattern" )
0 commit comments