fortran-src-0.2.0.0: Parser and anlyses for Fortran standards 66, 77, 90.

Safe HaskellSafe
LanguageHaskell2010

Language.Fortran.Parser.Utils

Description

Simple module to provide functions that read Fortran literals

Synopsis

Documentation

readReal :: String -> Maybe Double Source #

Convert a Fortran literal Real into a Haskell Double.

readInteger :: String -> Maybe Integer Source #

Convert a Fortran literal Integer into a Haskell Integer.