Popularity
4.4
Stable
Activity
0.0
Stable
34
2
9
Monthly Downloads: 14
Programming language: Elixir
License: Apache License 2.0
Latest version: v1.0.1
array alternatives and similar packages
Based on the "Algorithms and Data structures" category.
Alternatively, view array alternatives based on common mentions on social networks and blogs.
-
exconstructor
An Elixir library for generating struct constructors that handle external data with ease. -
aja
Extension of the Elixir standard library focused on data stuctures, data manipulation and performance -
remodel
:necktie: An Elixir presenter package used to transform map structures. "ActiveModel::Serializer for Elixir" -
MapDiff
Calculates the difference between two (nested) maps, and returns a map representing the patch of changes. -
the_fuzz
String metrics and phonetic algorithms for Elixir (e.g. Dice/Sorensen, Hamming, Jaccard, Jaro, Jaro-Winkler, Levenshtein, Metaphone, N-Gram, NYSIIS, Overlap, Ratcliff/Obershelp, Refined NYSIIS, Refined Soundex, Soundex, Weighted Levenshtein) -
exmatrix
Elixir library implementing a parallel matrix multiplication algorithm and other utilities for working with matrices. Used for benchmarking computationally intensive concurrent code. -
Closure Table
Closure Table for Elixir - a simple solution for storing and manipulating complex hierarchies. -
bitmap
Bitmap implementation in Elixir using binaries and integers. Fast space efficient data structure for lookups
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of array or a related project?
Popular Comparisons
README
Array
An Elixir wrapper library for Erlang's array.
Supports Access, Enumerable and Collectable protocols.
Using Array with Mix
To use array in your projects, add array as a dependency:
def deps do
[{:array, "~> 1.0.1"}]
end
Then run mix deps.get
to install it.
Documentation
http://code.void.in/docs/elixir-array/
Example
# Create
arr = Array.new()
# Update
arr = Array.set(arr, 0, 100)
# Access by indices
arr[0] # -> 0
arr[1000] # -> nil
# Convert from/to list
Array.from_list([1,2,3,4,5])
Array.to_list(arr)
# Transform using the Enum module
Array.from_list([1,2,3,4,5]) |> Enum.map(fn x -> 2*x end)
Enum.into(0..100, Array.new())
# Comprehension
for v <- Array.from_list([1,2,3,4,5]), into: Array.new(), do: v*2