bring back empty() vs new(val)
Go / test (push) Successful in 10s

This commit is contained in:
2025-11-04 13:03:00 -10:00
parent 4e1cbce3a7
commit db1bd5f322
4 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ func (this *Vector) String() string {
}
func ToList(this *Vector) list.IList {
l := list.New()
l := list.Empty()
for i := len(this._slice) - 1; i >= 0; i-- {
l = list.Conj(l, this._slice[i])
}