fortran-src-extras-0.5.0: Common functions and utils for fortran-src.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Fortran.Extras.Encoding

Description

Utils and Aeson orphan instances for common types in the AST.

Partially deprecated by proper JSON serialization support.

Synopsis

Documentation

commonEncode :: ToJSON a => a -> ByteString Source #

Provide a wrapper for the encode function to allow indirect use in modules importing Encoding.

pprint77l :: IndentablePretty a => a -> String Source #

Render some AST element to a String using F77 legacy mode.