Releases: creepersaur/QuickList
Releases · creepersaur/QuickList
v1.0.4
A lot of changes. I don't remember most of them. 😅
retain(func) function:
local my_list: ql.Quicklist = ql {
1, 2, 3, 4
}
my_list.retain(function(i: number, v: any)
if v % 2 == 0 then
return true
end
end)
print(my_list) -- Will print `{2, 4}` since it retained any even number.And more! ✅
v1.0.3
A lot of new changes!
- Autocomplete now works better and you can see all the functions of the QuickList table
- Chaining also supports autocomplete
- Added
setEach(function(i, v)) - Module code was revamped and is slightly easier to look around.
- Removed as many warnings as possible in the Roblox code editor.
- .new() method assert text was changed. ("Nil, table or QuickList must be provided.")
get_dictionary()was renamed toget_table()
Big change
Quicklist now has "support" for dictionaries. The only thing that works in it is
- Creating dictionaries using
local _ = require('QuickLIst')
_{
hello = 'world'
test = {
foo = 'bar'
}
}- Remove a key-value pair from a dictionary.
table.remove(key:string)
Thanks @Cookibot for helping me with some stuff such as the autocomplete and forking the repo.
v1.0.2
v1.0.2
- Fixed a lot of stuff
- added
__eqmetamethod - added
__addmetamethod - added
__ltand__lemetamethods - added
__concatmetamethod - fixed
copy() average()now only divides with how many numbers are in the list (before it did the length of the entire list)- added
sum()function which adds all number values and returns the output
I think that's all.
v1.0.1
- Added negative indexing
- fixed flatten()
v1.0.0
First release of QuickList!
Feel free to send issues on the Issues tab on the repo. And also give suggestions and issues with documentation.