summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Price <2855417+WhistlePayer@users.noreply.github.com>2018-07-27 00:00:31 -0400
committerBen Gamari <ben@smart-cactus.org>2018-07-30 17:57:44 -0400
commita698bbfe47c4ae5c93fc54c033072d1bbd7abf17 (patch)
treed6132ec1aae2c94ed277ee20cb43c5b21b86da83
parentc6262464c5d80ff2897577c0b2a25d89fd5da0bf (diff)
downloadhaskell-a698bbfe47c4ae5c93fc54c033072d1bbd7abf17.tar.gz
Fix minor formatting issue in users_guide/bugs.rst
-rw-r--r--docs/users_guide/bugs.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/users_guide/bugs.rst b/docs/users_guide/bugs.rst
index 3cfc023ea0..aee8dc5842 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 ()