Latest #function Threads Top

aloisdg
Any news about adding a transpose function to the standard lib? It was discussed on the mailing list in 2021, but nothing since. Transpo...
New
spammy
Say we have a function: def func(a, b \\ 0) do I believe this generates func/1 and func/2. Is it possible to make func/2 private withou...
New
amirOrbe
Hi everyone, I have a function with two parameters with default values something like: def(param1 \\ %{}, param2 \\ "") do ### end this...
New
Codename-404
def func do convert_video.(1280) IO.puts(“Conversion done, starting to upload”) end I have this function, but problem is, if convert_...
New
kwhite
I just ran into this unexpected behavior. I had a short function that is piping its result into other functions. When I converted the sho...
New
Etlevi
I have a huge JSON file and what I want to accomplish is tell if there are any dupes in this json and which ones. This is basically to ch...
New
chrisdel101
I’ve use the generators to create a project. Inside the project schema when I add a new function to the others that exist I get an error....
New
MatijaL
Hello, I created a function which takes timedate as parameter in NaiveDateTime format. This date is an end date and the function has to ...
New
CherryPoppins
I’m having trouble understanding how test --cover is working. I see a module has 0% coverage, add a test for the function defined in that...
New
MatijaL
Hello, I’ve been learning Elixir and Phoenix for some time and I really enjoy them. I noticed that a lot of functions in Phoenix use opt...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

aloisdg
Any news about adding a transpose function to the standard lib? It was discussed on the mailing list in 2021, but nothing since. Transpo...
New
spammy
Say we have a function: def func(a, b \\ 0) do I believe this generates func/1 and func/2. Is it possible to make func/2 private withou...
New

Last Three Year's Trending Top

jjabba
Im trying to understand this section of the ecto documentation: https://hexdocs.pm/ecto/Ecto.Query.html#preload/3-preload-functions For...
New
amirOrbe
Hi everyone, I have a function with two parameters with default values something like: def(param1 \\ %{}, param2 \\ "") do ### end this...
New
kwhite
I just ran into this unexpected behavior. I had a short function that is piping its result into other functions. When I converted the sho...
New
Codename-404
def func do convert_video.(1280) IO.puts(“Conversion done, starting to upload”) end I have this function, but problem is, if convert_...
New
Etlevi
I have a huge JSON file and what I want to accomplish is tell if there are any dupes in this json and which ones. This is basically to ch...
New

Trending Over Three Years Top

CommandoSev
How to write a recursive function, which iterates over a list and checks if an element is in that list in elixir?
New
benhoven
Hi Everybody, I spent some time testing and trying different ways how to pass, process and use optional opts in a function argument. Id...
New
Suzaku_Sakuya
Hi everyone, I am new to Elixir. I have a function and in this function: if type == "followers" do users = .... else users = .... en...
New
Fl4m3Ph03n1x
Background I have a configuration file called test.exs that does not work because it has an anonymous function: # stub for fire function...
New
chrisdel101
I’ve use the generators to create a project. Inside the project schema when I add a new function to the others that exist I get an error....
New
actor
I am new to elixir and also the concept of co-routines. I am trying to warp my head around how we can make use of time slice like explain...
New
fchabouis
I would like to know if there is a way, in a mix project, to get information about where a function is defined? I would like, given a mo...
New
quda
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
benhoven
Hi Everybody ;-), Based on my understanding the proper Elixir way is to implement functions that return :ok or :error instead of raise e...
New
jjabba
I’ve defined a table in postgresql to store a NonBinarySearchTree. The table is named nodes. Each row contains an id, and optionally a p...
New
samuelludwig
I have a function (myfun/1) that takes in a list of characters, and depending on the characters in the list, returns a list of named func...
New
grangerelixx
I have a function Function_1(arg1,arg2,arg3) I would like to call Function_1 in another function Function_2( ) where only arg3 is passed...
New
MatijaL
Hello, I’ve been learning Elixir and Phoenix for some time and I really enjoy them. I noticed that a lot of functions in Phoenix use opt...
New
Rich_Morin
ExDoc adds documentation for several Phoenix functions to each of my View pages: __phoenix_recompile__?() __resource__() __templates__(...
New
CherryPoppins
I’m having trouble understanding how test --cover is working. I see a module has 0% coverage, add a test for the function defined in that...
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