start the tower of abstractions
Go / test (push) Failing after 28s

This commit is contained in:
2025-11-04 12:25:23 -10:00
parent d3997bfb53
commit 4e1cbce3a7
4 changed files with 63 additions and 36 deletions
+3 -4
View File
@@ -51,15 +51,14 @@ func (this *Vector) String() string {
return String(this)
}
func ToList(this *Vector) *list.List {
var l *list.List
l = nil
func ToList(this *Vector) list.IList {
l := list.New()
for i := len(this._slice) - 1; i >= 0; i-- {
l = list.Conj(l, this._slice[i])
}
return l
}
func (this *Vector) ToList() *list.List {
func (this *Vector) ToList() list.IList {
return ToList(this)
}