Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
abbabc39
Commit
abbabc39
authored
Mar 22, 2022
by
jberryman
Browse files
Document typed splices inhibiting unused bind detection (#16524)
parent
09b6cb45
Pipeline
#49314
passed with stages
in 344 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/exts/template_haskell.rst
View file @
abbabc39
...
...
@@ -134,6 +134,9 @@ The :extension:`TemplateHaskellQuotes` extension is considered safe under
A top-level typed expression splice can occur in place of an expression; the
spliced expression must have type ``Code Q a``
**NOTE**: Currently typed splices may inhibit the unused identifier warning for
identifiers in scope. See `#16524 <https://gitlab.haskell.org/ghc/ghc/-/issues/16524>`
- A *typed* expression quotation is written as ``[|| ... ||]``, or
``[e|| ... ||]``, where the "..." is an expression; if the "..."
expression has type ``a``, then the quotation has type
...
...
Write
Preview
Supports
Markdown
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