Latest #operators Threads Top

gilbertbw
I am trying to write a macro to define a custom operator defmacro infix_function(op, function) do quote do def (a unquote(op...
New
binarypaladin
I’m working on a project right now that makes heavy, heavy use of Decimal. I just hit bug today where >= was used instead of Decimal.c...
New
DaAnalyst
I wonder if anyone can help me with this one. Just for the sake of trying something out with my library, I went on to inspect the omitte...
New
hst337
iex> map = %{x: 1} iex> map.x 1 iex> map.x() 1 Why would anyone use the map.x() syntax for getting map value? I’d suggest depre...
New
Papillon6814
Hello. I found a strange behavior of ++ and --. iex(1)> x = [:a, :b, nil, :c] [:a, :b, nil, :c] iex(2)> x -- [:a] -- [:c] [:b, ni...
New
vrod
I think I do not understand something. Can someone explain why this works? iex> [] ++ {:ok, "好"} {:ok, "好"} Is a tuple a list?
New
shijith.k
How does the < work? By accident, in my code, I compared an integer with a list, and it gave me a boolean value as response instead of...
New
tio407
I’m failing to grasp what the Bitwise module is doing. The documentation doesn’t have much (see for yourself). I have a decent understand...
New
shijith.k
Is it not a right method to compare naive date time values using basic operators like > and < ? I get wrong answers when I compare...
New
sihui_io
iex(71)> (["a", "b"] -- ["a"]) ++ ["a"] ["b", "a"] iex(72)> ["a", "b"] -- ["a"] ++ ["a"] ["b"] Hi team, Why having the () makes t...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

tio407
I’m failing to grasp what the Bitwise module is doing. The documentation doesn’t have much (see for yourself). I have a decent understand...
New
shijith.k
Is it not a right method to compare naive date time values using basic operators like > and < ? I get wrong answers when I compare...
New
binarypaladin
I’m working on a project right now that makes heavy, heavy use of Decimal. I just hit bug today where >= was used instead of Decimal.c...
New
gilbertbw
I am trying to write a macro to define a custom operator defmacro infix_function(op, function) do quote do def (a unquote(op...
New

Trending Over Three Years Top

Qqwy
In Elixir, operators are also simply functions. A unary operator takes a single argument, a binary infix operator takes two. It is there...
New
vrod
I think I do not understand something. Can someone explain why this works? iex> [] ++ {:ok, "好"} {:ok, "好"} Is a tuple a list?
New
sihui_io
iex(71)> (["a", "b"] -- ["a"]) ++ ["a"] ["b", "a"] iex(72)> ["a", "b"] -- ["a"] ++ ["a"] ["b"] Hi team, Why having the () makes t...
New
Papillon6814
Hello. I found a strange behavior of ++ and --. iex(1)> x = [:a, :b, nil, :c] [:a, :b, nil, :c] iex(2)> x -- [:a] -- [:c] [:b, ni...
New
shijith.k
How does the < work? By accident, in my code, I compared an integer with a list, and it gave me a boolean value as response instead of...
New
hst337
iex> map = %{x: 1} iex> map.x 1 iex> map.x() 1 Why would anyone use the map.x() syntax for getting map value? I’d suggest depre...
New
DaAnalyst
I wonder if anyone can help me with this one. Just for the sake of trying something out with my library, I went on to inspect the omitte...
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

Options

Thread Display Mode




Thread Preview

Skip Thread Previews