kicad-data-0.1.0.0: Parser and writer for KiCad files.

Safe HaskellNone
LanguageHaskell2010

Data.Kicad.PcbnewExpr

Contents

Synopsis

Types

Parse

parse :: String -> Either String PcbnewExpr Source

Parse a PcbnewExpr from a String. Returns an String with an error or 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.