| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Kicad.PcbnewExpr
Types
data PcbnewExpr Source
Constructors
| PcbnewExprModule PcbnewModule | |
| PcbnewExprItem PcbnewItem | |
| PcbnewExprAttribute PcbnewAttribute |
Instances
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.