summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-10-06 17:05:00 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-08 05:12:58 -0400
commit180cf1775f4d5fd97814ec87a1d2a8235f0a8152 (patch)
treee55425576eafc936bd49f949c49a65e4bf00ad08
parenteaeb28a1984ee97dd92fcc410e1f9407d5dd7aba (diff)
downloadhaskell-180cf1775f4d5fd97814ec87a1d2a8235f0a8152.tar.gz
users-guide: Document NondecreasingIndentation
-rw-r--r--docs/users_guide/bugs.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/users_guide/bugs.rst b/docs/users_guide/bugs.rst
index 1106f161b9..c0cffa0ee8 100644
--- a/docs/users_guide/bugs.rst
+++ b/docs/users_guide/bugs.rst
@@ -68,9 +68,16 @@ Context-free syntax
ps <- mapM process args
mapM print ps
- This behaviour is controlled by the ``NondecreasingIndentation``
+ This behaviour is controlled by the :extension:`NondecreasingIndentation`
extension.
+.. extension:: NondecreasingIndentation
+ :shortdesc: Allow nested contexts to be at the same indentation level as
+ its enclosing context.
+
+ Allow nested contexts to be at the same indentation level as
+ its enclosing context.
+
- GHC doesn't do the fixity resolution in expressions during parsing as
required by HaskellĀ 98 (but not by HaskellĀ 2010). For example,
according to the HaskellĀ 98 report, the following expression is