List of valid extensions for literate Agda files, and their corresponding preprocessors.
If you add new extensions, remember to update test/Utils.hs so that test cases ending in the new extensions are found.
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
ModuleAgda-2.7.0.1Haskell2010
Preprocessors for literate code formats.
List of valid extensions for literate Agda files, and their corresponding preprocessors.
If you add new extensions, remember to update test/Utils.hs so that test cases ending in the new extensions are found.
Short list of extensions for literate Agda files. For display purposes.
Preprocessor for literate TeX.
Preprocessor for reStructuredText.
Preprocessor for Markdown.
Preprocessor for Org mode documents.
Blanks the non-code parts of a given file, preserving positions of characters corresponding to code. This way, there is a direct correspondence between source positions and positions in the processed result.
Type of a literate preprocessor: Invariants:
f : Processorproposition> f pos s /= []
proposition> f pos s >>= layerContent == s
A list of contiguous layers.
A sequence of characters in a file playing the same role.
Returns True if the role corresponds to Agda code.
Returns True if the layer contains Agda code.