projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f794b53
)
FIX BUILD: Haddock 1.x fails to parse (Prelude..)
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 29 Oct 2007 13:19:21 +0000
(13:19 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 29 Oct 2007 13:19:21 +0000
(13:19 +0000)
Control/Category.hs
patch
|
blob
|
history
diff --git
a/Control/Category.hs
b/Control/Category.hs
index
13fba06
..
c85ebd5
100644
(file)
--- a/
Control/Category.hs
+++ b/
Control/Category.hs
@@
-38,7
+38,10
@@
class Category cat where
instance Category (->) where
id = Prelude.id
+#ifndef __HADDOCK__
+-- Haddock 1.x cannot parse this:
(.) = (Prelude..)
+#endif
-- | Right-to-left composition
(<<<) :: Category cat => cat b c -> cat a b -> cat a c