summaryrefslogtreecommitdiff
path: root/docs/users_guide/exts/pattern_guards.rst
blob: cfa6b7783d295c1b56c8affb8a71ddf6d081f90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _pattern-guards:

Pattern guards
--------------

.. extension:: NoPatternGuards
    :shortdesc: Disable pattern guards.
        Implied by :extension:`Haskell98`.

    :implied by: :extension:`Haskell98`
    :since: 6.8.1

Disable `pattern guards
<https://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-460003.13>`__.