Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- search :: String -> IO [HoogleResult]
- document :: String -> IO [HoogleResult]
- render :: OutputFormat -> HoogleResult -> String
- data OutputFormat
- data HoogleResult
- data HoogleResponse = HoogleResponse {}
- parseResponse :: String -> [HoogleResult]
Documentation
search :: String -> IO [HoogleResult] Source #
Search for a query on Hoogle. Return all search results.
document :: String -> IO [HoogleResult] Source #
Look up an identifier on Hoogle. Return documentation for that identifier. If there are many identifiers, include documentation for all of them.
render :: OutputFormat -> HoogleResult -> String Source #
Render a Hoogle search result into an output format.
data OutputFormat Source #
Types of formats to render output to.
data HoogleResult Source #
Instances
Show HoogleResult Source # | |
Defined in IHaskell.Eval.Hoogle showsPrec :: Int -> HoogleResult -> ShowS # show :: HoogleResult -> String # showList :: [HoogleResult] -> ShowS # |
data HoogleResponse Source #
Instances
FromJSON HoogleResponse Source # | |
Defined in IHaskell.Eval.Hoogle parseJSON :: Value -> Parser HoogleResponse # parseJSONList :: Value -> Parser [HoogleResponse] # | |
Show HoogleResponse Source # | |
Defined in IHaskell.Eval.Hoogle showsPrec :: Int -> HoogleResponse -> ShowS # show :: HoogleResponse -> String # showList :: [HoogleResponse] -> ShowS # | |
Eq HoogleResponse Source # | |
Defined in IHaskell.Eval.Hoogle (==) :: HoogleResponse -> HoogleResponse -> Bool # (/=) :: HoogleResponse -> HoogleResponse -> Bool # |
parseResponse :: String -> [HoogleResult] Source #