[commit: ghc] master: Fix minor formatting issue in users_guide/bugs.rst (a698bbf)
git at git.haskell.org
git at git.haskell.org
Mon Jul 30 21:59:55 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a698bbfe47c4ae5c93fc54c033072d1bbd7abf17/ghc
>---------------------------------------------------------------
commit a698bbfe47c4ae5c93fc54c033072d1bbd7abf17
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
>---------------------------------------------------------------
a698bbfe47c4ae5c93fc54c033072d1bbd7abf17
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