Latest #import Threads 
From the docs on import:
Note that import is lexically scoped too. This means that we can import specific macros or functions inside fu...
New
Hello all,
I got an issue in defining a defguard which is a combination of already existing defguards. Example:
defmodule Combined do
...
New
import Project Module
import Project.Module, only: [function: 1]
I’m sorry if the question is foolish, but I wanted to know if there is ...
New
In this case, considering we don’t have any overlapping function names, is it worth it to use only as a means of asserting that we’re onl...
New
I may be wrong here, but I really don’t see a proper way to override an operator in one’s own library while allowing for a fallback to wh...
New
Hi all,
I’m learning Elixir/OTP and am stumped by a certain behaviour. I’m declaring an anonymous function in a module, then when I atte...
New
Hi, I’m experimenting with Phoenix/Liveview and I’m stuck on something that should normally be something very simple to do. That somethin...
New
I was working on a Question which was ,
Input - A list of numbers - [1,2,3,4,5] <span class="hashtag-icon-placeholder"></span>example
W...
New
I have a helper module for importing that I want to split into two modules and import the first into the second (so I can reuse the first...
New
Hey there,
I am currently experimenting with defining and using my own slightly adjusted receive macro, based on the default. As a class...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
Hi, I’m experimenting with Phoenix/Liveview and I’m stuck on something that should normally be something very simple to do. That somethin...
New
In this case, considering we don’t have any overlapping function names, is it worth it to use only as a means of asserting that we’re onl...
New
From the docs on import:
Note that import is lexically scoped too. This means that we can import specific macros or functions inside fu...
New
import Project Module
import Project.Module, only: [function: 1]
I’m sorry if the question is foolish, but I wanted to know if there is ...
New
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
ISTM that alias, import and defdelegate are limited and confusing, and certainly my worst experience in Elixir.
I just would like to do ...
New
Is there a way to conditionally import a function, but make the import available outside the if or case?
this obviously works:
def fo...
New
I was working on a Question which was ,
Input - A list of numbers - [1,2,3,4,5] <span class="hashtag-icon-placeholder"></span>example
W...
New
I’m trying to import a helper module in my application that is only available in under :dev and :test mix environments.
I’ve got the fol...
New
I have a helper module for importing that I want to split into two modules and import the first into the second (so I can reuse the first...
New
Hey there,
I am currently experimenting with defining and using my own slightly adjusted receive macro, based on the default. As a class...
New
I may be wrong here, but I really don’t see a proper way to override an operator in one’s own library while allowing for a fallback to wh...
New
Hi all,
I’m learning Elixir/OTP and am stumped by a certain behaviour. I’m declaring an anonymous function in a module, then when I atte...
New
This question is a bit convoluted, so please bear with me…
I have some common functions that I use occasionally for tracing and such. Fo...
New
Hello, I would like to import Ecto.Query but without importing the update: 2 to the namespace.
I can use only to specify what i want to ...
New
- Follow
- Join
- Shape
the conversation
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
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #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
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









