Skip to content

Commit e90b958

Browse files
committed
Notes on list implementation
1 parent 4974b6d commit e90b958

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package py
44

55
var ListType = NewType("list", "list() -> new empty list\nlist(iterable) -> new list initialized from iterable's items")
66

7+
// FIXME lists are mutable so this should probably be struct { Tuple } then can use the sub methods on Tuple
78
type List []Object
89

910
// Type of this List object

0 commit comments

Comments
 (0)