Category:Wren-array: Difference between revisions

Content added Content deleted
(j)
(Changed blurb following addition of CharArray class.)
 
Line 1: Line 1:
{{library}}
{{library}}
'''Wren-array''' is a module which enables fixed sized arrays to be created in the Wren programming language. Although the size of the array is fixed, the elements themselves can be mutated. It consists of four classes: Array, ArrayType, BitArray and ByteArray. The second of these enables one to create a named type which inherits from Array dynamically at runtime and the third and fourth classes enable one to create a compressed array of boolean and byte values, respectively.
'''Wren-array''' is a module which enables fixed sized arrays to be created in the Wren programming language. Although the size of the array is fixed, the elements themselves can be mutated. It consists of five classes: Array, ArrayType, BitArray, ByteArray and CharArray. The second of these enables one to create a named type which inherits from Array dynamically at runtime and the third, fourth and fifth classes enable one to create a compressed array of boolean, byte values and Latin-1 character values, respectively. CharArray is in effect a limited type of mutable string (normally strings in Wren are immutable).


It is the twenty-eighth in a series of modules (listed on the language's [[:Category:Wren|main page]]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.
It is the twenty-eighth in a series of modules (listed on the language's [[:Category:Wren|main page]]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.