[commit: haddock] master: Constrain elements exported by hyperlinker modules. (9a51a6d)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:39:50 UTC 2015


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/9a51a6d3f686736354e26137363ea979a5e38076

>---------------------------------------------------------------

commit 9a51a6d3f686736354e26137363ea979a5e38076
Author: Łukasz Hanuszczak <lukasz.hanuszczak at gmail.com>
Date:   Sat Jun 6 23:40:36 2015 +0200

    Constrain elements exported by hyperlinker modules.


>---------------------------------------------------------------

9a51a6d3f686736354e26137363ea979a5e38076
 haddock-api/src/Haddock/Backends/Hyperlinker/Ast.hs      | 5 ++++-
 haddock-api/src/Haddock/Backends/Hyperlinker/Renderer.hs | 2 +-
 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 7d88b7f..a24945e 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 32d2c86..3c6fe14 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



More information about the ghc-commits mailing list