Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct { Car Expression Cdr Expression }
Pair is cons
func NewList ¶
func NewList(args ...Expression) *Pair
NewList makes concatenated pair's list. Internally, creating last pair and concatenate it with previous pair.
func (*Pair) Append ¶
func (p *Pair) Append(exp Expression) *Pair
Append add cons pair to given pair exp, first arguments of callee, should be car of this pair.
Click to show internal directories.
Click to hide internal directories.