Latest #guards Threads 
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
Hey there
Regarding performance, is there a difference between guards and generated functions using pattern matching? Or does the compil...
New
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
Inside the Elixir official documentation, the guards sections states:
Not all expressions are allowed in guard clauses, but only a hand...
New
Why map update syntax does not work in guards?
1> case [1, 2, 3] of
1> X when #{x => 1}#{x => 2} =:= #{x => 2} -> X
...
New
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
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
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
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
Hey guys,
I have a question about custom guard expression.I am trying to write multiple guard expressions with pattern matching however ...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hey there
Regarding performance, is there a difference between guards and generated functions using pattern matching? Or does the compil...
New
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
Hey,
I am currently reading Programming Elixir and I am doing one of the exercises where you should write a solution to the “I’m thinkin...
New
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
To those who consider themselves heavy users of guards, could you share your rules of thumb?
When do you or don’t you use guards?
How a...
New
Hey guys,
I have a question about custom guard expression.I am trying to write multiple guard expressions with pattern matching however ...
New
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
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
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
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
Why map update syntax does not work in guards?
1> case [1, 2, 3] of
1> X when #{x => 1}#{x => 2} =:= #{x => 2} -> X
...
New
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
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
Inside the Elixir official documentation, the guards sections states:
Not all expressions are allowed in guard clauses, but only a hand...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







