Safe Haskell | None |
---|---|
Language | Haskell98 |
High level Hoogle API
- data Database
- withDatabase :: NFData a => FilePath -> (Database -> IO a) -> IO a
- searchDatabase :: Database -> String -> [Target]
- data Target = Target {
- targetURL :: URL
- targetPackage :: Maybe (String, URL)
- targetModule :: Maybe (String, URL)
- targetType :: String
- targetItem :: String
- targetDocs :: String
- type URL = String
- hoogle :: [String] -> IO ()
Documentation
withDatabase :: NFData a => FilePath -> (Database -> IO a) -> IO a Source
Load a database from a file.
searchDatabase :: Database -> String -> [Target] Source
Search a database, given a query string, produces a list of results.
A location of documentation.
Target | |
|