Compare commits

...

2 Commits

View File

@ -32,7 +32,7 @@ Ludus strings are dependent on the host platform. Given that Ludus either runs i
Strings' type is `:string`. Strings' type is `:string`.
## Collections ## Collections
Ludus has a few different types of collections, in increasing order of complexity. Ludus has a few different types of collections, in increasing order of complexity: tuples, lists, sets, dicts, and namespaces.
### Separators ### Separators
In all collection literals, members are written with a separator between them. On the same line, use a comma; or a newline will also separate elements. You may use as many separators as you wish at any point inside a collection or pattern. `(,,,,,,,3,,4,,,,,,)` and `(3, 4)` are the same value. In all collection literals, members are written with a separator between them. On the same line, use a comma; or a newline will also separate elements. You may use as many separators as you wish at any point inside a collection or pattern. `(,,,,,,,3,,4,,,,,,)` and `(3, 4)` are the same value.