work on adding indexing and slices

This commit is contained in:
2023-03-10 00:19:03 +00:00
parent cd1027630c
commit fe05d818de
12 changed files with 616 additions and 134 deletions

View File

@@ -70,6 +70,9 @@ func anyToArgon(x any, quote bool, simplify bool, depth int, indent int, color b
output = append(output, "\x1b[0m")
}
case ArMap:
if len(x) == 0 {
return "{}"
}
keys := make([]any, len(x))
i := 0