fortran-src-0.4.2: Parsers and analyses for Fortran standards 66, 77, 90 and 95.
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.