Latest #alias Threads Top

ccavolt
In my mix.exs file, if I try to create an alias with a hex mix task, for example hex.audit or hex.outdated, I get an error saying the tas...
New
Fl4m3Ph03n1x
Background I have an umbrella project with several apps. Some of these apps have runtime libraries as dependencies, some apps depend on ...
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
chocolatedonut
How can I alias all modules of a project? Mix.Project.apps_paths |> Map.keys |> Enum.flat_map(&:application.get_key(&1, :...
New
VeljkoMaksimovic
Is there a way to have multiple aliases, but to use as: acronym for one of them, something like this, but that actually works :smiley: ...
New
zorn
My team is considering enabling the credo rule https://hexdocs.pm/credo/Credo.Check.Readability.MultiAlias.html that would force you to n...
New
Fl4m3Ph03n1x
Background So I am using this library mix-test.watch from @lpil which I really like. Usually I just run mix test.watch and I let the pro...
New
Fl4m3Ph03n1x
Background I have a project where I have separated my tests into two categories: Unit tests and Integration tests. My objective is to ha...
New
bryanhuntesl
Flailing around, trying to dynamically generate aliases (exploration stuff, purpose is discovery not necessity). Is there any way the fo...
New
otuv
Hi, I have a simple helper function to clock stuff. I want to put it in a my X.Helper module (assuming my project is X) to use it where...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

chocolatedonut
How can I alias all modules of a project? Mix.Project.apps_paths |> Map.keys |> Enum.flat_map(&:application.get_key(&1, :...
New
ccavolt
In my mix.exs file, if I try to create an alias with a hex mix task, for example hex.audit or hex.outdated, I get an error saying the tas...
New
Fl4m3Ph03n1x
Background I have an umbrella project with several apps. Some of these apps have runtime libraries as dependencies, some apps depend on ...
New

Trending Over Three Years Top

johnhu
Hi all, I am a newbie to Elixir. I try to create an alias for running another group of tests which has its owned environment. It can be ...
New
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
MatUrbanski
Hello everyone. I’m pretty new to Elixir. I have question about alias and import usage. Does using import makes impact on app performance...
New
Qqwy
I am working on my first Phoenix project. One thing I do not like right now, is that all models are prefixed with the project name. I ca...
New
VeljkoMaksimovic
Is there a way to have multiple aliases, but to use as: acronym for one of them, something like this, but that actually works :smiley: ...
New
ubill
I have asked this question on Slack, no solutions from there, so putting it up here. The situation is, Let’s say I’ve typed in the iex ...
New
nmichel
Hi There is something I don’t get about macros, modules and aliasing. Consider the following code snippets. Module Foo exports macro s...
New
Fl4m3Ph03n1x
Background I have a project where I have separated my tests into two categories: Unit tests and Integration tests. My objective is to ha...
New
Fl4m3Ph03n1x
Background So I am using this library mix-test.watch from @lpil which I really like. Usually I just run mix test.watch and I let the pro...
New
anders
I’m playing around with something like this: defmodule Todo.User do defstruct name: nil end defmodule Todo.Todo do defstruct text: ...
New
otuv
Hi, I have a simple helper function to clock stuff. I want to put it in a my X.Helper module (assuming my project is X) to use it where...
New
Fl4m3Ph03n1x
Background I am reading “Functional Web Development with Elixir, OTP and Phoenix” and in the book the author makes a surprising statement...
New
acrolink
I mean how to map for instance /news/12 to /news/elixir-2-announced? Do I need to create a database table to map friendly URL’s to actual...
New
zorn
My team is considering enabling the credo rule https://hexdocs.pm/credo/Credo.Check.Readability.MultiAlias.html that would force you to n...
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement