Safe Haskell | None |
---|---|
Language | Haskell2010 |
- parse :: String -> Either String PcbnewExpr
- parseWithFilename :: String -> String -> Either String PcbnewExpr
- fromSExpr :: SExpr -> Either String PcbnewExpr
Documentation
parse :: String -> Either String PcbnewExpr Source #
Parse a Pcbnew expression from a string. Returns an String
with an error
- or a PcbnewExpr
.
parseWithFilename :: String -> String -> Either String PcbnewExpr Source #
Parse a Pcbnew expression from a string giving a filename argument to be used in error strings.
fromSExpr :: SExpr -> Either String PcbnewExpr Source #
Interpret a SExpr
as a PcbnewExpr
.