| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Config.DefaultConfig
Description
The committed default configuration, embedded into the binary at compile time.
Both the default-policy build (defaultPolicy) and the merged
configuration load (loadConfig) read the same config/default.yaml.
Embedding it once here gives them a single shared binding instead of two independent
Template Haskell splices, and confines the one accepted STAN-0212 (unsafe-function)
observation the embedFile splice expands to. Because this module carries nothing but
the embed, its source lines never shift, so the .stan.toml exclude can be scoped to
the file itself rather than pinned to a line and column that rots on every edit above it.
Synopsis
Documentation
defaultConfigBytes :: ByteString Source #
The committed default configuration document, embedded verbatim from
config/default.yaml at compile time.