Top "Elixir" questions

Elixir is an open-source, dynamic, compiled, general purpose functional programming language.

How to run an Elixir application?

What is the correct way to run an Elixir application? I'm creating a simple project by: mix new app and …

elixir
Turn postgres date representation into ISO 8601 string

I'm trying to format a Postgres date representation into a ISO 8601 string. I'm assuming that there is a Postgres function …

postgresql date elixir iso8601 ecto
Are there things Elixir can do that Erlang cannot, or vice versa?

This question is in the context of the Beam VM and the capabilities that it provides, not in the general …

erlang elixir otp
assert the size of the list in elixir

I would like to assert list's size. Currently I do it as follows: assert devices = Repo.all from d in …

elixir
Run shell commands in Elixir

I want to execute a program through my Elixir code. What is the method to call a shell command to …

elixir
How do I recompile an Elixir project and reload it from within iex?

I'm currently learning Elixir by going through the OTP and mix tutorial on the elixir-lang website, and I'm having trouble …

elixir mix
How can I schedule code to run every few hours in Elixir or Phoenix framework?

So let's say I want to send a bunch of emails or recreate sitemap or whatever every 4 hours, how would …

elixir phoenix-framework
Why are there two kinds of functions in Elixir?

I'm learning Elixir and wonder why it has two types of function definitions: functions defined in a module with def, …

erlang elixir
How to get list elements by index in elixir

{status, body} = File.read("/etc/hosts") if status == :ok do hosts = String.split body, "\n" hosts = Enum.map(hosts, fn(…

arrays list elixir
How To Convert An Elixir Binary To A String?

So I'm trying to convert a binary to a string. This code: t = [{<<71,0,69,0,84,0>>}] String.from_char_…

unicode erlang odbc elixir