Commit 00d71323 authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Ben Gamari
Browse files

Add information about irrefutable pattern Syntax to XStrict.

This information was present in the ghc wiki but not the user guide.
[skip ci]

Test Plan: None

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: RyanGlScott, rwbarton, thomie, carter

Differential Revision:
parent 6847c6bf
......@@ -12523,6 +12523,10 @@ optionally had by adding ``!`` in front of a variable.
Adding ``~`` in front of ``x`` gives the regular lazy behavior.
Turning patterns into irrefutable ones requires ``~(~p)`` or ``(~ ~p)`` when ``Strict`` is enabled.
- **Let/where bindings**
When the user writes ::
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