Portability | portable |
---|---|
Stability | experimental |
Maintainer | joost.visser@di.uminho.pt |
Safe Haskell | None |
Data.ATerm.ReadWrite
Description
This module is part of the ATerm library for Haskell. It contains functions for reading and writing ATerms from and to Strings. Two ATerm formats are supported:
- AT: plain (non-shared) textual ATerms
- TAF: shared textual ATerms
The binary ATerm format (BAF) is not supported.
Current limitations:
- BLOBS and place-holders are not supported.
- Annotations are not supported.
- readATerm :: String -> ATerm
- writeATerm :: ATerm -> String
- writeSharedATerm :: ATerm -> String
Documentation
writeATerm :: ATerm -> StringSource
Write the given ATerm to non-shared textual representation (TXT format).
writeSharedATerm :: ATerm -> StringSource
Write the given ATerm to fully shared textual representation (TAF format).