operand-list.go: adding of String() function
This commit is contained in:
parent
360ebce015
commit
f9486fa1bd
@ -42,6 +42,10 @@ func (ls *ListType) ToString(opt FmtOpt) string {
|
|||||||
return sb.String()
|
return sb.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (ls *ListType) String() string {
|
||||||
|
return ls.ToString(0)
|
||||||
|
}
|
||||||
|
|
||||||
// -------- list term
|
// -------- list term
|
||||||
func newListTermA(args ...*term) *term {
|
func newListTermA(args ...*term) *term {
|
||||||
return newListTerm(args)
|
return newListTerm(args)
|
||||||
|
Loading…
Reference in New Issue
Block a user