fortran-vars-0.4.0: Fortran memory model and other static analysis tools.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Fortran.Vars.Eval.FortranSrc.Translate

Description

Translate fortran-vars Fortran types and values to fortran-src (Language.Fortran.Repr).

TODO

  • BYTE is apparently LOGICAL(1). Or INTEGER(1) (same thing?). Could make a special check for that.
Synopsis

Documentation

translateShape :: Shape -> Dimensions Source #

Note that Fortran defaults to 1-indexed arrays.