This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

mruoss
Hey there Regarding performance, is there a difference between guards and generated functions using pattern matching? Or does the compil...
New
joshua.aug
I have a function that takes a list as input. If I call the function with a range e.g. 0..3 it doesn’t work. I assume I need to make ano...
New

Trending Over Three Years Top

Fl4m3Ph03n1x
Background I have a filter to where I am passing an anonymous function. In this function I want to check that the key of the tuple I am e...
New
altuntasfatih
Hey guys, I have a question about custom guard expression.I am trying to write multiple guard expressions with pattern matching however ...
New
quda
Is it possible to create a function to accept only a valid json as parameter/argument ? Not map! Precisely, I need something that would ...
New
Fl4m3Ph03n1x
Background I am a fan of dialyzer and friends (looking at Gradient) and I try to have sepcs in my code as much as I can. To this end, I a...
New
Sebb
I have this helper function where I exploit the Errors in Guards feature. def non_empty(val, _msg) when length(val) > 0, do: {:ok, va...
New
mario-mazo
Hello Im still trying to adapt to the dynamically typed nature of elixir and I have a doubt about testing a function that has a guard I...
New
bmitch
I’m new to Elixir and just recently completed “Elixir for Programmers” by pragdave. I thought creating tic tac toe in Elixir would be a ...
New
artem
Hi all I am still in my early days with Elixir and relatively new to functional languages (did one hobby project in Elm), so most intere...
New
miguelszerman
Inside the Elixir official documentation, the guards sections states: Not all expressions are allowed in guard clauses, but only a hand...
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