aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Hyperlinker
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-06 23:40:36 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 22:37:48 +0200
commit9a51a6d3f686736354e26137363ea979a5e38076 (patch)
tree97bcf85ab6ba405811a3d77f095eeca2b1ec870d /haddock-api/src/Haddock/Backends/Hyperlinker
parent7d43b8a8c9538692beb91a4c3a485e82b40559ab (diff)
Constrain elements exported by hyperlinker modules.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Hyperlinker')
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs5
-rw-r--r--haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs2
2 files changed, 5 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs
index 7d88b7fb..a24945ea 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs
@@ -1,6 +1,9 @@
{-# LANGUAGE RankNTypes #-}
-module Haddock.Backends.Hyperlinker.Ast where
+module Haddock.Backends.Hyperlinker.Ast
+ ( enrich
+ , RichToken(..)
+ ) where
import Haddock.Backends.Hyperlinker.Parser
diff --git a/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs b/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs
index 32d2c863..3c6fe14f 100644
--- a/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs
+++ b/haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs
@@ -1,4 +1,4 @@
-module Haddock.Backends.Hyperlinker.Renderer where
+module Haddock.Backends.Hyperlinker.Renderer (render) where
import Haddock.Backends.Hyperlinker.Parser
import Haddock.Backends.Hyperlinker.Ast