aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2011-08-18 14:27:53 -0700
committerDavid Terei <davidterei@gmail.com>2011-10-12 14:02:55 -0700
commit45bcf701d8e99e86f28a966b31654c16a5ae6b42 (patch)
tree0a87147ec4e11353f8d0850a39d5d09aa4a457e5 /src/Haddock/Backends
parent8b2ee333020aeb9e639cd1772e1dca3b4b4ef3d2 (diff)
Add safe haskell indication to haddock output
Diffstat (limited to 'src/Haddock/Backends')
-rw-r--r--src/Haddock/Backends/Xhtml.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml.hs b/src/Haddock/Backends/Xhtml.hs
index b639760d..08e2fe07 100644
--- a/src/Haddock/Backends/Xhtml.hs
+++ b/src/Haddock/Backends/Xhtml.hs
@@ -200,7 +200,8 @@ moduleInfo iface =
entries = mapMaybe doOneEntry [
("Portability",hmi_portability),
("Stability",hmi_stability),
- ("Maintainer",hmi_maintainer)
+ ("Maintainer",hmi_maintainer),
+ ("Safe Haskell",hmi_safety)
]
in
case entries of