Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Fortran version enum and tools for selecting version for a given file.
Synopsis
Documentation
data FortranVersion Source #
The Fortran specification version used (or relevant to its context).
The constructor ordering is important, since it's used for the Ord instance (which is used extensively for pretty printing).
Instances
fortranVersionAliases :: [(String, FortranVersion)] Source #
deduceFortranVersion :: FilePath -> FortranVersion Source #
Deduce the FortranVersion
from a FilePath
using extension.
Defaults to Fortran 90 if suffix is unrecognized.
deduceVersion :: FilePath -> FortranVersion Source #
Alias for previous function name. TODO: deprecate eventually.