This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
I have a problem, where i have a macro the calls another function. I want to be able to add optional guards to my macro, and call the nes...
New
Is there a guard for testing protocol implementation?
is_proto/2
For example, how to guard test for implementing Enumerable?
I underst...
New
Trending Over Three Years
Sometimes I want to check if the input into a function is not a blank string.
My first approach:
defmodule Example do
def do_stuff(s...
New
Hello, I wanted to create custom guard like this , but I have an error:
cannot invoke remote function Regex.match?/2 inside guard
guar...
New
Hi,
If in a guard I use :erlang.map_get/2 on a map that does not have the key, and use a or to put another guard condition in second pos...
New
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
I maintain a library where a user can publish a message and I want to accept any iodata (I end up writing it to a TCP connection), but I ...
New
Hello , I have 3 fn which create and check list, but it does not work for me .
for example :
list creator :
defp string_to_array(stri...
New
I have the following code where I test for the existence of an ETS table:
case :ets.whereis(:metrics) do
:undefined ...
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:
Sub Categories:
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







