Elixir is an open-source, dynamic, compiled, general purpose functional programming language.
I'm playing around with pattern match and I found out, that it's not quite easy to pattern match parameters of …
pattern-matching elixirWhen I do: IO.inspect [:right, :top, :left, ...very_long_list] I only get the first items (it's a list …
elixirI'm basically looking for an Elixir equivalent of Ruby's Array#sample. Something that would let me do this: list = [1,2,3,4,5,6,7] sample(…
elixirIt says that Elixir has a tool called elixirc and Erlang has a tool called erlc to compile modules for …
compilation erlang elixirI can declare a range as follows: range = 1..10 Is there a way to convert the range to a list?
elixirI am beginning my Elixir/Phoenix journey and having some trouble with my postgres connection. When I start up my …
elixir phoenix-framework ecto boxenMost languages allow block comments, and multiline commands. For example, a multiline comment in HTML looks like the following: <!…
comments multiline elixirI'm following the Programming Phoenix book, working on the section to implement logging in/out an authenticated user, and am …
elixir phoenix-frameworkI'm trying to format the Timex module to look a certain way. I'm trying to get today's date. but I …
datetime elixir timexI have an Ecto.Query and a Repo, such that I can call Repo.all(query) and get results. However, …
elixir ecto