8 ms·
XXL is array oriented. All values are arrays, even what are usually considered scalar values. Verbs decide how they should behave with single item array argumen
by tlack 7y ago
XXL is array oriented. All values are arrays, even what are usually considered scalar values. Verbs decide how they should behave with single item array arguments. Verbs like the math functions automatically apply themselves to the entire array. This removes a lot of need for looping constructs, which are discouraged in XXL. Some examples:
3,6,9 * 3
(9,18,27)
3 * 3
9
Let me know if this makes sense so I can update the readme correspondingly.
- tom_mellior 7y agoThis is cool, thanks! Yes, I think the Readme could do with more smaller examples early on.