[commit: ghc] ghc-8.6: Fix minor formatting issue in users_guide/bugs.rst (4c158ee)
git at git.haskell.org
git at git.haskell.org
Mon Jul 30 22:27:26 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.6
Link : http://ghc.haskell.org/trac/ghc/changeset/4c158eeb7ec4c8be38475ea4736465025c52dbb4/ghc
>---------------------------------------------------------------
commit 4c158eeb7ec4c8be38475ea4736465025c52dbb4
Author: Josh Price <2855417+WhistlePayer at users.noreply.github.com>
Date: Fri Jul 27 00:00:31 2018 -0400
Fix minor formatting issue in users_guide/bugs.rst
(cherry picked from commit fb11a104018dfb4065fd91c549fec6d46fa77945)
>---------------------------------------------------------------
4c158eeb7ec4c8be38475ea4736465025c52dbb4
docs/users_guide/bugs.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/users_guide/bugs.rst b/docs/users_guide/bugs.rst
index 3cfc023..aee8dc5 100644
--- a/docs/users_guide/bugs.rst
+++ b/docs/users_guide/bugs.rst
@@ -351,12 +351,14 @@ The Haskell Report demands that, for infix operators ``%``, the following
identities hold:
::
+
(% expr) = \x -> x % expr
(expr %) = \x -> expr % x
However, the second law is violated in the presence of undefined operators,
::
+
(%) = error "urk"
(() %) `seq` () -- urk
(\x -> () % x) `seq` () -- OK, result ()
More information about the ghc-commits
mailing list