Safe Haskell | None |
---|---|
Language | Haskell2010 |
B9.Artifact.Content
Description
Content is what is written to files in the generated VM images and cloud configuration.
Contains the monadic actions that generate the content that is written to the generated artifacts.
Since: 0.5.62
Synopsis
- type ContentGenerator = B9 Text
- class ToContentGenerator c where
- toContentGenerator :: (HasCallStack, IsB9 e) => c -> Eff e Text
- data Text
Documentation
class ToContentGenerator c where Source #
Types whose values can be turned into an Eff
ect that produces
Text
, e.g. ContentGenerator
Since: 0.5.62
Methods
toContentGenerator :: (HasCallStack, IsB9 e) => c -> Eff e Text Source #
Instances
ToContentGenerator Content Source # | |
Defined in B9.Artifact.Content.Readable Methods toContentGenerator :: (HasCallStack, IsB9 e) => Content -> Eff e Text Source # |
A space efficient, packed, unboxed Unicode text type.