fortran-src-extras-0.4.0: Common functions and utils for fortran-src.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Fortran.Extras.RunOptions

Description

This module is responsible for handling CLI options

Synopsis

Documentation

data FortranSrcRunOptions Source #

Holds fortran-src specific CLI options. This includes the version of the parser, included files and the path of the source

getFortranSrcRunOptions :: String -> String -> IO FortranSrcRunOptions Source #

Given description and header, execute fortran-src options parser and get the FortranSrcRunOptions

data RunOptions a Source #

Holds FortranSrcRunOptions and additional tool specific CLI options

Instances

Instances details
Show a => Show (RunOptions a) Source # 
Instance details

Defined in Language.Fortran.Extras.RunOptions

getRunOptions :: String -> String -> Parser a -> IO (RunOptions a) Source #

Given description, header and tool options parser, execute options parser and get the RunOptions