operand-list.go: adding of String() function

This commit is contained in:
Celestino Amoroso 2024-05-03 06:29:18 +02:00
parent 360ebce015
commit f9486fa1bd

View File

@ -42,6 +42,10 @@ func (ls *ListType) ToString(opt FmtOpt) string {
return sb.String()
}
func (ls *ListType) String() string {
return ls.ToString(0)
}
// -------- list term
func newListTermA(args ...*term) *term {
return newListTerm(args)