| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Fortran.Extras.Encoding
Contents
Description
Utils and Aeson orphan instances for common types in the AST.
Synopsis
- commonEncode :: ToJSON a => a -> ByteString
- pprint77l :: IndentablePretty a => a -> String
Documentation
commonEncode :: ToJSON a => a -> ByteString Source #
pprint77l :: IndentablePretty a => a -> String Source #
Render some AST element to a String using F77 legacy mode.
Orphan instances
| ToJSON SemType Source # | |
| ToJSON CharacterLen Source # | |
Methods toJSON :: CharacterLen -> Value # toEncoding :: CharacterLen -> Encoding # toJSONList :: [CharacterLen] -> Value # toEncodingList :: [CharacterLen] -> Encoding # | |
| ToJSON BaseType Source # | |
| ToJSON Position Source # | |
| ToJSON SrcSpan Source # | |
| FromJSON SemType Source # | |
| FromJSON CharacterLen Source # | |
| FromJSON BaseType Source # | |
| FromJSON Position Source # | |
| FromJSON SrcSpan Source # | |