Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Fortran.Version
Description
Fortran version enum and tools for selecting version for a given file.
Synopsis
Documentation
data FortranVersion Source #
Constructors
Fortran66 | |
Fortran77 | |
Fortran77Extended | |
Fortran77Legacy | |
Fortran90 | |
Fortran95 | |
Fortran2003 | |
Fortran2008 |
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.