| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Language.Drasil.Code.FileData
Description
Defines the underlying data types used in the package extension.
Synopsis
- data FileAndContents
- fileAndContents :: FilePath -> Doc -> FileAndContents
- data PackageData a
- packageData :: a -> [FileAndContents] -> PackageData a
Documentation
data FileAndContents Source #
The underlying data type for auxiliary files in all renderers.
fileAndContents :: FilePath -> Doc -> FileAndContents Source #
Constructor for auxiliary files.
data PackageData a Source #
The underlying data type for packages in all renderers.
packageData :: a -> [FileAndContents] -> PackageData a Source #
Constructor for package data.