sift icon indicating copy to clipboard operation
sift copied to clipboard

Immutable data library for Luau.

Results 3 sift issues
Sort by recently updated
recently updated
newest added

Add an array function to deduplicate values within an array in a shorter and more readable form. This can currently be achieved like so: ```lua local deduplicated = Sift.Set.toArray(Sift.Set.fromArray(array)) ```...

I have written some computationally & memory efficient implementations for these already which produce the exact behaviours I demonstrated in the example code already, so I'd be happy to write...

I find myself doing this often: ```lua local numbers = { 1, 4, 2, 3, 1, 1, 3 } local ones = Sift.Array.filter(numbers, function(number) return number == 1 end) local...