Top "Elixir" questions

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

Make elixir app recompile and reload on source code change

How to automatically recompile and reload my iex + mix application every time I modify the source code? If there's no …

elixir elixir-mix elixir-iex
the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8

How to solve this warning being prompted every time I execute Elixir code or enter iex? warning: the VM is …

ubuntu encoding utf-8 virtual-machine elixir
Many to Many relationship in Ecto

I have a Users model and a Chats model. Intuitively multiple people will belong to the same chat group at …

elixir phoenix-framework ecto
cannot invoke remote function inside match : Foreach loop

I'm trying to set some property of User model inside a for-each loop, But I keep getting following error cannot …

elixir ecto
Elixir lists interpreted as char lists

I'm just starting out with Elixir. I'm writing some tests using ExUnit for simple Enumerable functions that I am implementing …

list elixir
protocol Ecto.Queryable not implemented for

I'm trying to implement Guardian into my API and perform a login through it to get JWT back. The tutorial …

elixir phoenix-framework ecto
How does one generate an HMAC string in Elixir?

I'm attempting to write an Amazon Product Advertising API client in Elixir. The developer guide describes the process for signing …

hmac sha256 otp elixir amazon-product-api
How can I define named functions in the Elixir console without getting ** (ArgumentError) cannot invoke def/2 outside module?

I can define named functions in modules just fine, but I haven't yet got the hang of it for use …

elixir named
Elixir - try/catch vs try/rescue?

Background Both try/rescue and try/catch are error handling techniques in Elixir. According the corresponding chapter in the introduction …

elixir
What is the benefit of Keyword Lists?

In elixir we have Maps: > map = %{:a => "one", :b => "two"} # = %{a: "one", b: "two"} > map.a # = "…

elixir