Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (19 sloc) 505 Bytes
{-# LANGUAGE DeriveDataTypeable #-}
module HsDoc (
) where
#include "HsVersions.h"
import Outputable
import SrcLoc
import FastString
import Data.Data
newtype HsDocString = HsDocString FastString
deriving (Eq, Show, Data, Typeable)
type LHsDocString = Located HsDocString
instance Outputable HsDocString where
ppr _ = text "<document comment>"
ppr_mbDoc :: Maybe LHsDocString -> SDoc
ppr_mbDoc (Just doc) = ppr doc
ppr_mbDoc Nothing = empty
Jump to Line
Something went wrong with that request. Please try again.