Skip to content
Snippets Groups Projects
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: https://phabricator.haskell.org/D4250
parent 6847c6bf
No related branches found
No related tags found
No related merge requests found
......@@ -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 ::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment