SExpr
data SExpr Source #
S-Expression
Constructors
Defined in SExpr
Methods
showsPrec :: Int -> SExpr -> ShowS #
show :: SExpr -> String #
showList :: [SExpr] -> ShowS #
(==) :: SExpr -> SExpr -> Bool #
(/=) :: SExpr -> SExpr -> Bool #
getSymbol :: SExpr -> Maybe String Source #
Get the Symbol contained in this expression
Symbol
getInteger :: SExpr -> Maybe Int Source #
Get the Integer contained in this expression
Integer
getList :: SExpr -> Maybe [SExpr] Source #
Get the List contained in this expression
List
printTree :: SExpr -> Maybe String Source #
Return a string representation of the S-Expression