A re-implementation of the Erlang module PG in Elixir, for fun and learning purposes. Many optimizations are left out of the current PG code, largely for my own curiosity at how much they help and also to prevent this from being a strict one-to-one port, which wouldn't teach me much.
If available in Hex, the package can be installed
by adding pgzero
to your list of dependencies in mix.exs
:
def deps do
[
{:pgzero, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/pgzero.