This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

garrison
The first time I tried to create a custom (macro) sigil, I assumed the first argument would be a string as I knew string literals represe...
New
Anber96
Hi, i have a thought regarding my phoenix application and translations. I might have understood it wrong, but here it goes. I want to cr...
New
zkessin
I am trying to use mix format to format some graphql code but when I define the plugin it will work with a capital sigil IE ~G but not a ...
New
Kin
I am following the elixir official docs and on the sigil page here https://elixir-lang.org/getting-started/sigils.html#custom-sigils thi...
New

Trending Over Three Years Top

Zesky665
Hi, I’m going through the examples on the drab page. In the ‘chat example’ section, in the code example. defhandler update_chat(socket,...
New
Fl4m3Ph03n1x
Background In my quest to learn Phoenix LiveView I found myself using a render function that uses a deprecated sigil: def render(_assi...
New
sc4224
Hi, having a problem refactoring using pattern matching for these lines of code defp check_input(input, game = %State{}) do input = St...
New
Sanjibukai
Hello, It seems that any LiveView sigil is expected to have in its scope an assigns map. So not a keyword list or anything else, but a ...
New
Aetherus
I want to mimic ES6’s destructing assignment using Elixir’s sigil. What I want to achieve is ~m{foo bar} = %{foo: 1, bar: 2} foo #=&gt...
New
fireproofsocks
I recently discovered the wonderful ~U sigil that can be used to create DateTime variables. However, what’s confusing to me is that you’...
New
mbenatti
Hello Guys, Elixir/phoenix have some helper to concat sigils? What do you think about this feature? Code: defmodule Teste do import ...
New
yolo007wizard
For example, if I have a json payload: { "inputs":{ "key": "~jp(event/key1/1/key2)", "key2": "str" } } The goal is to trans...
New
wolf4earth
As the title suggests, I wonder what the reasoning is behind only allowing “single character sigils”. The thought came to me while looki...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement