Copyright | Copyright (c) 2021-2025 Travis Cardwell |
---|---|
License | MIT |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SourceFormat
- describe :: SourceFormat -> String
- list :: [SourceFormat]
Type
data SourceFormat Source #
Source format
This sum type defines the supported source formats.
Since: 0.0.1.0
DoubleDash | -- comments |
DoubleSlash | // comments |
Hash | # comments |
LispSemicolons | Lisp semicolon comments |
LiterateHaskell | literate Haskell |
Percent | % comments |
Instances
API
describe :: SourceFormat -> String Source #
Get a description of a source format
Since: 0.0.1.0
list :: [SourceFormat] Source #
List of all supported source formats
Since: 0.0.1.0