Commit 180cf177 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot
Browse files

users-guide: Document NondecreasingIndentation

parent eaeb28a1
...@@ -68,9 +68,16 @@ Context-free syntax ...@@ -68,9 +68,16 @@ Context-free syntax
ps <- mapM process args ps <- mapM process args
mapM print ps mapM print ps
This behaviour is controlled by the ``NondecreasingIndentation`` This behaviour is controlled by the :extension:`NondecreasingIndentation`
extension. 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 - GHC doesn't do the fixity resolution in expressions during parsing as
required by Haskell 98 (but not by Haskell 2010). For example, required by Haskell 98 (but not by Haskell 2010). For example,
according to the Haskell 98 report, the following expression is according to the Haskell 98 report, the following expression is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment