This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

a-maze-d
Hello all, I got an issue in defining a defguard which is a combination of already existing defguards. Example: defmodule Combined do ...
New

Trending Over Three Years Top

dimitarvp
Given this module: defmodule A do @type size :: pos_integer() defguard is_size(x) when is_integer(x) and x > 0 def default_size...
New
ijverig
Using guards like this works fine: iex(1)> defmodule M do ...(1)> def update_position({pos, max_pos}) when pos < max_pos, do:...
New
dimitarvp
Hello, Is it possible to check if an argument to a guard is a particular structure? Context: I am trying to have a defguard definition ...
New
Fl4m3Ph03n1x
Background I am playing around with defguard in macro I am defining. The macro has an opaque type and I think dialyzer is having issues w...
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