fortran-src-0.8.0: Parsers and analyses for Fortran standards 66, 77, 90, 95 and 2003 (partial).
Safe HaskellSafe-Inferred
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.