Latest #import Threads Top

nathanl
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
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
Filipewelton
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
cashews
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
DaAnalyst
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
dubesoftware
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
Astarno
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
Gupta
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
7rans
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
Astarno
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 Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

Astarno
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
nathanl
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
Filipewelton
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
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

fgallaire
ISTM that alias, import and defdelegate are limited and confusing, and certainly my worst experience in Elixir. I just would like to do ...
New
eksperimental
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
Gupta
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
DaAnalyst
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
ngeraedts
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
7rans
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
Astarno
Hey there, I am currently experimenting with defining and using my own slightly adjusted receive macro, based on the default. As a class...
New
dubesoftware
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
Rich_Morin
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
cashews
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
marcin
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

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews