ihaskell-0.11.0.0: A Haskell backend kernel for the Jupyter project.
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHaskell.Eval.Hoogle

Synopsis

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.

Constructors

Plain

Render to plain text.

HTML

Render to HTML.