camfort-0.902: CamFort - Cambridge Fortran infrastructure

Safe HaskellNone
LanguageHaskell2010

Camfort.Specification.Units

Synopsis

Documentation

checkUnits :: UnitOpts -> (Filename, ProgramFile Annotation) -> Report Source #

Check units-of-measure for a program

inferUnits :: UnitOpts -> (Filename, ProgramFile Annotation) -> Report Source #

Check and infer units-of-measure for a program This produces an output of all the unit information for a program

synthesiseUnits :: UnitOpts -> Char -> (Filename, ProgramFile Annotation) -> (Report, (Filename, ProgramFile Annotation)) Source #

Synthesis unspecified units for a program (after checking)

inferCriticalVariables :: UnitOpts -> (Filename, ProgramFile Annotation) -> (Report, Int) Source #

Infer one possible set of critical variables for a program

chooseImplicitNames :: [(VV, UnitInfo)] -> [(VV, UnitInfo)] Source #

Create unique names for all of the inferred implicit polymorphic unit variables.