Skip to content

Commit ff4fb00

Browse files
committed
fix haddocks for Servant.API.Header (fixes #491)
1 parent 7174f51 commit ff4fb00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servant/src/Servant/API/Header.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
{-# LANGUAGE DeriveFunctor #-}
44
{-# LANGUAGE PolyKinds #-}
55
{-# OPTIONS_HADDOCK not-home #-}
6-
module Servant.API.Header where
6+
module Servant.API.Header (
7+
Header(..),
8+
) where
79

810
import Data.ByteString (ByteString)
911
import Data.Typeable (Typeable)
@@ -25,5 +27,3 @@ data Header (sym :: Symbol) a = Header a
2527
-- >>> import Servant.API
2628
-- >>> import Data.Aeson
2729
-- >>> import Data.Text
28-
-- >>> data Book
29-
-- >>> instance ToJSON Book where { toJSON = undefined }

0 commit comments

Comments
 (0)