haskelldb-0.9: ContentsIndex
Database.HaskellDB.DBSpec.DBSpecToDBDirect
Portabilitynon-portable
Stabilityexperimental
Maintainerdp03-7@mdstud.chalmers.se
Description

Converts a DBSpec-generated database to a set of (FilePath,Doc), that can be used to generate definition files usable in HaskellDB (the generation itself is done in DBDirect)

$Revision: 1.20 $

Synopsis
specToHDB :: String -> DBInfo -> [(String, Doc)]
dbInfoToModuleFiles :: FilePath -> String -> DBInfo -> IO ()
Documentation
specToHDB
:: StringTop level module name
-> DBInfo
-> [(String, Doc)]
Converts a database specification to a set of module names and module contents. The first element of the returned list is the top-level module.
dbInfoToModuleFiles
:: FilePathbase directory
-> Stringtop-level module name
-> DBInfo
-> IO ()
Create module files in the given directory for the given DBInfo
Produced by Haddock version 0.8