summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsonsmatt <parsonsmatt@gmail.com>2021-05-05 19:41:56 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-29 05:05:18 -0400
commit76902415a4758d627a9606e822ab7d1305554e0b (patch)
tree26c7ce8e4157d6bd5c378c604859f0eaa6f1ad70
parent99b5cce97dd56dbf993b9a12ebc6c126a100a780 (diff)
downloadhaskell-76902415a4758d627a9606e822ab7d1305554e0b.tar.gz
Apply 2 suggestion(s) to 1 file(s)
-rw-r--r--libraries/template-haskell/Language/Haskell/TH/Syntax.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
index 37ad1af7bf..ff14ea747b 100644
--- a/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+++ b/libraries/template-haskell/Language/Haskell/TH/Syntax.hs
@@ -572,7 +572,7 @@ reifyType :: Name -> Q Type
reifyType nm = Q (qReifyType nm)
{- | Template Haskell is capable of reifying information about types and
-terms defined in previous declaration groups. Top-level splices break up
+terms defined in previous declaration groups. Top-level declaration splices break up
declaration groups.
For an example, consider this code block. We define a datatype @X@ and
@@ -590,7 +590,7 @@ $(do
)
@
-This code fails to compile, noting that @X@ is not in scope at the site of 'reify'. We can fix this by creating a new declaration group using an empty top-level splice:
+This code fails to compile, noting that @X@ is not available for reification at the site of 'reify'. We can fix this by creating a new declaration group using an empty top-level splice:
@
data X = X