Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types
data PcbnewExpr Source
Parse
parse :: String -> Either String PcbnewExpr Source
Parse a PcbnewExpr
from a String
. Returns an String
with an error or
a PcbnewExpr
.
fromSExpr :: SExpr -> Either String PcbnewExpr Source
Interpret a SExpr
as a PcbnewExpr
.
Write
pretty :: PcbnewExpr -> Doc Source
Pretty-print a PcbnewExpr
as a readable s-expression Doc
.
write :: PcbnewExpr -> String Source
Serialize a PcbnewExpr
as a compact s-expression String
.