Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type ReplacementActionName = Text
- type ReplacementSearchString = Text
- type TemplateName = Text
- data TextReplacementAction = TextReplacementAction {}
- replacementActionName :: Lens' TextReplacementAction ReplacementActionName
- replacementActionSearchString :: Lens' TextReplacementAction ReplacementSearchString
- replacementText :: Lens' TextReplacementAction Text
- data AuthorInfo
- data TemplateConfiguration = TemplateConfiguration {}
- authorInfo :: Lens' TemplateConfiguration (Maybe AuthorInfo)
- templateDirectoryPath :: Lens' TemplateConfiguration (Path Abs Dir)
- relativeOutputPath :: Lens' TemplateConfiguration (Path Rel Dir)
- fileContentReplacementMap :: Lens' TemplateConfiguration (Map (Path Rel File) (Seq Text))
- data Configuration = Configuration {}
- contentReplacementActions :: Lens' Configuration (Seq TextReplacementAction)
- templateConfigurations :: Lens' Configuration (Map TemplateName TemplateConfiguration)
- data ConfigurationPath
- configurationPath :: ConfigurationPath -> Path Abs File
- isNewConfiguration :: ConfigurationPath -> Bool
Type Alias
type ReplacementActionName = Text #
type ReplacementSearchString = Text #
type TemplateName = Text #
Data Types
Text Replacement Action
data TextReplacementAction #
A text replacement action to perform on the contents of a file, as read from a configuration file.
TextReplacementAction | |||||||||
|
Instances
Template Configuration
data AuthorInfo #
Information about authors for TemplateConfiguration
s.
SingularAuthor Text | A single author |
MultipleAuthors (NonEmpty Text) | A non-empty collection of authors |
Instances
data TemplateConfiguration #
A template to specify a directory of files to copy to a new location.
TemplateConfiguration | |
|
Instances
Configuration
data Configuration #
A template configuration used to copy a directory when creating a new assessment.
Configuration | |
|
Instances
Other datatypes
data ConfigurationPath #