| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Utils.Drasil.FileData
Description
Defines the underlying data types used in the package extension.
Synopsis
- data FileAndContents
- fileAndContents :: FilePath -> Doc -> FileAndContents
- hasPathAndDocToFileAndContents :: HasPathAndDoc a Doc => a -> FileAndContents
Documentation
data FileAndContents Source #
The underlying data type for auxiliary files in all renderers.
Instances
| HasPathAndDoc FileAndContents Doc Source # | |
Defined in Utils.Drasil.FileData | |
fileAndContents :: FilePath -> Doc -> FileAndContents Source #
Constructor for auxiliary files.
hasPathAndDocToFileAndContents :: HasPathAndDoc a Doc => a -> FileAndContents Source #