Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
27444c25
Commit
27444c25
authored
May 28, 2009
by
simonpj@microsoft.com
Browse files
Document the fact that Template Haskell type splices work
parent
30ced404
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/glasgow_exts.xml
View file @
27444c25
...
...
@@ -5863,6 +5863,8 @@ Wiki page</ulink>.
<itemizedlist>
<listitem><para>
an expression; the spliced expression must
have type
<literal>
Q Exp
</literal></para></listitem>
<listitem><para>
an type; the spliced expression must
have type
<literal>
Q Typ
</literal></para></listitem>
<listitem><para>
a list of top-level declarations; the spliced expression must have type
<literal>
Q [Dec]
</literal></para></listitem>
</itemizedlist>
</para>
...
...
@@ -5911,7 +5913,7 @@ Wiki page</ulink>.
(Compared to the original paper, there are many differences of detail.
The syntax for a declaration splice uses "
<literal>
$
</literal>
" not "
<literal>
splice
</literal>
".
The type of the enclosed expression must be
<literal>
Q [Dec]
</literal>
, not
<literal>
[Q Dec]
</literal>
.
Type
splices are not implemented
, and neither are pattern splices or quotations
.
Pattern
splices
and quotations
are not implemented.
)
</sect2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment