Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type Url = String
- type Anchor = Text
- dropAnchor :: Url -> Url
- takeAnchor :: MonadFail m => Url -> m Anchor
- data DeclUrl = DeclUrl ModuleUrl Anchor
- data SourceLink = SourceLink Url Anchor
- newtype ModuleUrl = ModuleUrl Url
- newtype PackageUrl = PackageUrl Url
- type FileName = String
- type FileContent = Text
- newtype RelativeUrl = RelativeUrl Text
- data FileInfo = FileInfo {}
- class HasUrl a where
Documentation
Appears at the end of a url after a pound sign, pointing the element to focus on. https://hackage.haskell.org/package/hoogle-5.0.18.1/docs/Hoogle.html#t:Target ^^^^^^^^
dropAnchor :: Url -> Url Source #
data SourceLink Source #
Link to an item in a src page
Instances
Show SourceLink Source # | |
Defined in Docs.CLI.Types showsPrec :: Int -> SourceLink -> ShowS # show :: SourceLink -> String # showList :: [SourceLink] -> ShowS # | |
Eq SourceLink Source # | |
Defined in Docs.CLI.Types (==) :: SourceLink -> SourceLink -> Bool # (/=) :: SourceLink -> SourceLink -> Bool # | |
HasUrl SourceLink Source # | |
Defined in Docs.CLI.Types getUrl :: SourceLink -> Url Source # |
newtype PackageUrl Source #
Url to a Haddock package page
Instances
Show PackageUrl Source # | |
Defined in Docs.CLI.Types showsPrec :: Int -> PackageUrl -> ShowS # show :: PackageUrl -> String # showList :: [PackageUrl] -> ShowS # | |
Eq PackageUrl Source # | |
Defined in Docs.CLI.Types (==) :: PackageUrl -> PackageUrl -> Bool # (/=) :: PackageUrl -> PackageUrl -> Bool # | |
HasUrl PackageUrl Source # | |
Defined in Docs.CLI.Types getUrl :: PackageUrl -> Url Source # |
type FileContent = Text Source #
newtype RelativeUrl Source #