| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Drasil.System.Transformations
Synopsis
- class HasSystemMeta sys => ToFiles sys opts | opts -> sys where
- toFiles :: sys -> opts -> [FileLayout]
Documentation
class HasSystemMeta sys => ToFiles sys opts | opts -> sys where Source #
The goal of our systems is to be abstractions about human-readable software
artifacts. An instance of this typeclass (ToFiles) defines a software
generator that explains how said abstractions can be made fully concrete
(i.e., made into concrete software artifacts).
Methods
Arguments
| :: sys | The system. |
| -> opts | The generation options. |
| -> [FileLayout] | The final, rendered software artifacts. |