diff options
-rw-r--r-- | docs/users_guide/exts/rebindable_syntax.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/exts/rebindable_syntax.rst b/docs/users_guide/exts/rebindable_syntax.rst index 2d46aa29ac..3a091bc7fb 100644 --- a/docs/users_guide/exts/rebindable_syntax.rst +++ b/docs/users_guide/exts/rebindable_syntax.rst @@ -131,7 +131,8 @@ Postfix operators The :extension:`PostfixOperators` extension enables a small extension to the syntax of left operator sections, which allows you to define postfix operators. -The extension is this: the left section :: +The extension is this: for any expression ``e`` and operator ``(!)``, the left +section :: (e !) @@ -140,8 +141,7 @@ execution) to the expression :: ((!) e) -(for any expression ``e`` and operator ``(!)``. The strict Haskell 98 -interpretation is that the section is equivalent to :: +The strict Haskell 98 interpretation is that the section is equivalent to :: (\y -> (!) e y) |