summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Chinn <brandonchinn178@gmail.com>2022-09-30 20:04:55 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-04 20:34:46 -0400
commitb8df5c72185effbe2cca8d6038d2a356690c9d00 (patch)
treebc191f720671eb28e4caa40a7c9ca684c40ff933
parent48ab9ca5abae82c45495c01e7634ff2a92979346 (diff)
downloadhaskell-b8df5c72185effbe2cca8d6038d2a356690c9d00.tar.gz
Fix docs for pattern synonyms
-rw-r--r--docs/users_guide/exts/pattern_synonyms.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/users_guide/exts/pattern_synonyms.rst b/docs/users_guide/exts/pattern_synonyms.rst
index 198cc41358..d52290e87b 100644
--- a/docs/users_guide/exts/pattern_synonyms.rst
+++ b/docs/users_guide/exts/pattern_synonyms.rst
@@ -524,9 +524,9 @@ Pragmas for pattern synonyms
----------------------------
The :ref:`inlinable-pragma`, :ref:`inline-pragma` and :ref:`noinline-pragma` are supported for pattern
-synonyms. For example: ::
+synonyms as of GHC 9.2. For example: ::
- patternInlinablePattern x = [x]
+ pattern InlinablePattern x = [x]
{-# INLINABLE InlinablePattern #-}
pattern InlinedPattern x = [x]
{-# INLINE InlinedPattern #-}