Packages

  • package root
    Definition Classes
    root
  • case class SExpPair(car: SExp, cdr: SExp, pos: Position) extends SExp with Product with Serializable

    An s-expression is made of pairs, e.g., (foo bar) is represented as the pair with identifier foo as car and another pair -- with identifier bar as car and value nil as cdr -- as cdr.

    An s-expression is made of pairs, e.g., (foo bar) is represented as the pair with identifier foo as car and another pair -- with identifier bar as car and value nil as cdr -- as cdr. Pairs are pretty-printed when converted to string. i.e., (foo bar) is stringified as (foo bar) and not (foo . (bar . ()))

    Definition Classes
    root
c

SExpPair

case class SExpPair(car: SExp, cdr: SExp, pos: Position) extends SExp with Product with Serializable

An s-expression is made of pairs, e.g., (foo bar) is represented as the pair with identifier foo as car and another pair -- with identifier bar as car and value nil as cdr -- as cdr. Pairs are pretty-printed when converted to string. i.e., (foo bar) is stringified as (foo bar) and not (foo . (bar . ()))

Linear Supertypes
Serializable, Serializable, Product, Equals, SExp, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SExpPair
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SExp
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SExpPair(car: SExp, cdr: SExp, pos: Position)

Value Members

  1. val car: SExp
  2. val cdr: SExp
  3. val pos: Position
    Definition Classes
    SExpPairSExp
  4. def toString(): String
    Definition Classes
    SExpPair → AnyRef → Any
  5. def toStringRest: String