This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

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
octavio-robles
Hi everyone, I’ve been working predominantly with R for most of my projects, and I’ve grown quite accustomed to using Shift+Command+M to...
New
holasoymas
I’m encountering a strange issue when using Enum.filter/2 in my Elixir script. The problem occurs when I filter a list with a condition t...
New

Trending Over Three Years Top

jihantoro
my original syntax : result = Enum.map( from(Repo, where: ^whitelisted_params) |> where([schema], like(schema.nama, ^"#{nam...
New
Gilou06
Hello, I keep using a paradigme using a homemade function to make my life easier when piping. I wonder if there is a better way to achi...
New
ahmadferdous
I have structs Company, Employee and a list of struct values employees. Struct Employee contains 2 fields - hours and bill. I need to kn...
New
hawkyre
Is there any way to leverage the pipe operator to access properties of an object after a sequence of operations? I’m trying to do a sequ...
New
silviurosu
I need to convert in place in a map some values only of they exist. The key can be either binary or atom. Is there a more Elixir way to ...
New
keep_zen
For a functor, map(map(functor, fun), fun2) equal as map(functor, fun2*fun). In Elixir, I think Enum module is a functor, but |> did ...
New
zerogvt
Hi all, first post here (also a newbie in elixir/FP). So, I have next pipe code which works but also looks funny: case {status_code, bo...
New
rm-rf-etc
This is basically the same question I’ve asked before, I’m just wondering if anything has changed since I last asked, or if there’s any o...
New
nikiiv
I am learning Elixir and I wonder why I can’t use anon function in a pipe but must use the then macro For example this works “Hello” |&...
New
dub2
def eta() do result = @dday |> Timex.diff(NaiveDateTime.utc_now(), :duration) |> Timex.format_duration(:humaniz...
New
chemist
Hi, hope for any wisdom on how to improve this code snippet or if there are bits of knowledge I appear to be lacking Basically I want to...
New
benonymus
Hey, I started to play around with the ok_jose library in a project, and when I compile the code I get these warnings: warning: this c...
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