If available in Hex, the package can be installed
by adding bank
to your list of dependencies in mix.exs
:
def deps do
[
{:bank, "~> 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/bank.
Account.register(%User{name: 'Adriel', email: 'adriel@gmail.com'})
:erlang.term_to_binany(%User{name: 'Adriel', email: 'adriel@gmail.com'})
fn account -> account.user.email == email end
&(&1.user.email == email)
[1, 2, 3, 4, 5] |> List.delete(1) |> List.delete(2)