# \#functional-programming

**URL:** https://forum.elixirforum.com/tag/functional-programming/9.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Could Graph-Based Pipelines Become an Elixir Killer Feature?](https://forum.elixirforum.com/t/could-graph-based-pipelines-become-an-elixir-killer-feature/76997)

<div class="topic-metadata">

**Author:** [@brecabral](https://forum.elixirforum.com/u/brecabral)\
**Replies:** 11\
**Last updated:** [October 13, 2026, 5:12pm UTC](https://forum.elixirforum.com/t/could-graph-based-pipelines-become-an-elixir-killer-feature/76997 "2026-10-13T17:12:54Z")

</div>

From Pipes to Graphs: Could Elixir Make Control Flow More Composable? Recently, while studying LangGraph, and particularly the evolution from LangChain’s linear chains toward graph-based workflows, I started wondering: w…

---

## [Advanced Functional Programming with Elixir (PragProg)](https://forum.elixirforum.com/t/advanced-functional-programming-with-elixir-pragprog/72146)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.elixirforum.com/u/PragmaticBookshelf)\
**Replies:** 18\
**Last updated:** [September 12, 2025, 1:08pm UTC](https://forum.elixirforum.com/t/advanced-functional-programming-with-elixir-pragprog/72146 "2025-09-12T13:08:06Z")

</div>

Joseph Koski Series editor: Sophie DeBenedetto @SophieDeBenedetto Developmental editor Adaobi Obi Tulton @aotulton Combine advanced functional programming concepts with production-ready Elixir and proven domain-d…

---

## [2025/10/17 - FUNARCH2025 at ICFP/Splash Call for Papers is Open! - Singapore](https://forum.elixirforum.com/t/2025-10-17-funarch2025-at-icfp-splash-call-for-papers-is-open-singapore/70070)

<div class="topic-metadata">

**Author:** [@doyougnu](https://forum.elixirforum.com/u/doyougnu)\
**Replies:** 0\
**Last updated:** [March 21, 2025, 11:55am UTC](https://forum.elixirforum.com/t/2025-10-17-funarch2025-at-icfp-splash-call-for-papers-is-open-singapore/70070 "2025-03-21T11:55:03Z")

</div>

Hello everyone, This year I am chairing the Functional Architecture workshop colocated with ICFP and SPLASH. I’m happy to announce that the Call for Papers for FUNARCH2025 is open - deadline is June 16th! Send us resea…

---

## [2025/06/12-13 - Lambda Days 2025 - Kraków, Poland](https://forum.elixirforum.com/t/2025-06-12-13-lambda-days-2025-krakow-poland/67878)

<div class="topic-metadata">

**Author:** [@CodeSync](https://forum.elixirforum.com/u/CodeSync)\
**Replies:** 2\
**Last updated:** [February 14, 2025, 3:40pm UTC](https://forum.elixirforum.com/t/2025-06-12-13-lambda-days-2025-krakow-poland/67878 "2025-02-14T15:40:15Z")

</div>

Next edition of your favourite Functional Programming Conference For over a decade, this event has brought the functional programming worlds of academia and industry together. The collision of practical application and…

---

## [Using \`with\` as the Elixir replacement for \`let\` in Lisp](https://forum.elixirforum.com/t/using-with-as-the-elixir-replacement-for-let-in-lisp/68029)

<div class="topic-metadata">

**Author:** [@simonelnahas](https://forum.elixirforum.com/u/simonelnahas)\
**Replies:** 11\
**Last updated:** [December 12, 2024, 7:48pm UTC](https://forum.elixirforum.com/t/using-with-as-the-elixir-replacement-for-let-in-lisp/68029 "2024-12-12T19:48:56Z")

</div>

Coming from Clojure, Haskell, and Ocaml I’m very happy about using let for variable scoping. I have then started using with for this in Elixir, even though the documentation suggests using it to combine case clauses. w…

---

## [2025/01/24 - Functional Conf 2025 - online \[CFP deadline 17 Nov\]](https://forum.elixirforum.com/t/2025-01-24-functional-conf-2025-online-cfp-deadline-17-nov/67432)

<div class="topic-metadata">

**Author:** [@confengine](https://forum.elixirforum.com/u/confengine)\
**Replies:** 0\
**Last updated:** [November 12, 2024, 3:53am UTC](https://forum.elixirforum.com/t/2025-01-24-functional-conf-2025-online-cfp-deadline-17-nov/67432 "2024-11-12T03:53:53Z")

</div>

Attention all Elixir enthusiasts! The Functional Conf 2025 Call for Proposals is closing soon, and it’s a golden opportunity to share your insights and innovative applications of functional programming with a vibrant …

---

## [Elixir + Functional Programming in 9-12 High School](https://forum.elixirforum.com/t/elixir-functional-programming-in-9-12-high-school/66359)

<div class="topic-metadata">

**Author:** [@julngomz](https://forum.elixirforum.com/u/julngomz)\
**Replies:** 6\
**Last updated:** [September 28, 2024, 9:58pm UTC](https://forum.elixirforum.com/t/elixir-functional-programming-in-9-12-high-school/66359 "2024-09-28T21:58:46Z")

</div>

Hello All, I don’t know how to ask this question or if I am asking it in the right place, but I need some suggestions/guidance. I am currently taking EDU courses in university that revolves around designing and assessin…

---

## [Are you miserable when using other FP languages?](https://forum.elixirforum.com/t/are-you-miserable-when-using-other-fp-languages/65459)

<div class="topic-metadata">

**Author:** [@pmjoe](https://forum.elixirforum.com/u/pmjoe)\
**Replies:** 17\
**Last updated:** [August 22, 2024, 5:40pm UTC](https://forum.elixirforum.com/t/are-you-miserable-when-using-other-fp-languages/65459 "2024-08-22T17:40:50Z")

</div>

I got some knowledge on Elixir quickly, the language is very simple and straightforward. I feel that even not having a deep understand at the language I could contribute to any codebase. Now, I’m having to learn Scala fo…

---

## [2024/05/27-28 Lambda Days 2024 - Kraków, Poland](https://forum.elixirforum.com/t/2024-05-27-28-lambda-days-2024-krakow-poland/62550)

<div class="topic-metadata">

**Author:** [@CodeSync](https://forum.elixirforum.com/u/CodeSync)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 10:58am UTC](https://forum.elixirforum.com/t/2024-05-27-28-lambda-days-2024-krakow-poland/62550 "2024-05-17T10:58:15Z")

</div>

2 days of full focus on functional programming: Lambda Days is a conference bringing together FP enthusiasts from both academic and business worlds to learn, share and inspire. Come to beautiful, sunny Krakow for Lambda…

---

## [Should strings be wrapped in a function in functional programming?](https://forum.elixirforum.com/t/should-strings-be-wrapped-in-a-function-in-functional-programming/61830)

<div class="topic-metadata">

**Author:** [@spencer.christensen](https://forum.elixirforum.com/u/spencer.christensen)\
**Replies:** 5\
**Last updated:** [February 22, 2024, 11:09pm UTC](https://forum.elixirforum.com/t/should-strings-be-wrapped-in-a-function-in-functional-programming/61830 "2024-02-22T23:09:29Z")

</div>

I’m going through Tate and DeBenedetto’s Programming Phoenix LiveView and observed the code below. defp assign\_chart\_svg(%{assigns: %{chart: chart}} = socket) do socket |\> assign(:chart\_svg, render\_bar\_chart(c…

---

## [OO or FP easier for beginners](https://forum.elixirforum.com/t/oo-or-fp-easier-for-beginners/57696)

<div class="topic-metadata">

**Author:** [@stevensonmt](https://forum.elixirforum.com/u/stevensonmt)\
**Replies:** 30\
**Last updated:** [August 17, 2023, 7:19pm UTC](https://forum.elixirforum.com/t/oo-or-fp-easier-for-beginners/57696 "2023-08-17T19:19:44Z")

</div>

MOD NOTE: These were extracted from https://forum.elixirforum.com/t/elixir-should-focus-on-newbie-adoption I’m going to push back on some of the posts above suggesting Elixir is not a good language for learning “program…

---

## [What do you think about early returns?](https://forum.elixirforum.com/t/what-do-you-think-about-early-returns/56941)

<div class="topic-metadata">

**Author:** [@cjbottaro](https://forum.elixirforum.com/u/cjbottaro)\
**Replies:** 50\
**Last updated:** [July 22, 2023, 2:48am UTC](https://forum.elixirforum.com/t/what-do-you-think-about-early-returns/56941 "2023-07-22T02:48:00Z")

</div>

I’ve been primarily doing Elixir development for the past 6 years or so, and during that time whole heartedly committed to functional paradigms. But recently I did some Go programming, and I hate to admit it, but workin…

---

## [The benefits of functional language enforcements in context of highly concurrent, scalable and maintenable software](https://forum.elixirforum.com/t/the-benefits-of-functional-language-enforcements-in-context-of-highly-concurrent-scalable-and-maintenable-software/56974)

<div class="topic-metadata">

**Author:** [@D4no0](https://forum.elixirforum.com/u/D4no0)\
**Replies:** 1\
**Last updated:** [July 13, 2023, 10:48am UTC](https://forum.elixirforum.com/t/the-benefits-of-functional-language-enforcements-in-context-of-highly-concurrent-scalable-and-maintenable-software/56974 "2023-07-13T10:48:49Z")

</div>

It seems that people are very fired when it comes to discussions about static typing, namely these 2 topics received a lot of interaction: Type system updates: moving from research into development https://forum.elixir…

---

## [Podcast: Thinking Elixir 158 - From Ruby to Elixir with Steve Bussey](https://forum.elixirforum.com/t/podcast-thinking-elixir-158-from-ruby-to-elixir-with-steve-bussey/56844)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 12:01pm UTC](https://forum.elixirforum.com/t/podcast-thinking-elixir-158-from-ruby-to-elixir-with-steve-bussey/56844 "2023-07-06T12:01:01Z")

</div>

Episode 158 of Thinking Elixir. A challenge for many people learning Elixir is the change in the mental model. Coming from OOP to Functional changes how we reason about our applications and the old way doesn’t always map…

---

## [Creating a nested list from a flat list](https://forum.elixirforum.com/t/creating-a-nested-list-from-a-flat-list/56561)

<div class="topic-metadata">

**Author:** [@scandingo](https://forum.elixirforum.com/u/scandingo)\
**Replies:** 4\
**Last updated:** [June 18, 2023, 12:38pm UTC](https://forum.elixirforum.com/t/creating-a-nested-list-from-a-flat-list/56561 "2023-06-18T12:38:23Z")

</div>

I’m new to functional programming and I’d like to know the idiomatic way to convert a flat list of maps into a nested list. For some background, I’m experimenting with Ecto. I have a table with a recursive relationship …

---

## [Blog Post: Elixir for JavaScript developers: first impressions](https://forum.elixirforum.com/t/blog-post-elixir-for-javascript-developers-first-impressions/53871)

<div class="topic-metadata">

**Author:** [@MarcinKasprowicz](https://forum.elixirforum.com/u/MarcinKasprowicz)\
**Replies:** 6\
**Last updated:** [February 14, 2023, 7:59am UTC](https://forum.elixirforum.com/t/blog-post-elixir-for-javascript-developers-first-impressions/53871 "2023-02-14T07:59:58Z")

</div>

What I genuinely value at my workplace is that I can easily explore new languages through internal mobility. Throughout my career within Schibsted, I have been building things with JavaScript, TypeScript, Go, Kotlin, and…

---

## [Explaining map & reduce with animated examples](https://forum.elixirforum.com/t/explaining-map-reduce-with-animated-examples/14010)

<div class="topic-metadata">

**Author:** [@pel\_daniel](https://forum.elixirforum.com/u/pel_daniel)\
**Replies:** 17\
**Last updated:** [January 26, 2023, 4:26am UTC](https://forum.elixirforum.com/t/explaining-map-reduce-with-animated-examples/14010 "2023-01-26T04:26:46Z")

</div>

Hi! I created some animations to explain what happens internally with map & reduce functions. The code is open source. Any feedback is welcome ! https://lambdabricks.github.io/animating-hofs/

---

## [Why Enum.reduce fun arguments are x, acc instead of acc, x?](https://forum.elixirforum.com/t/why-enum-reduce-fun-arguments-are-x-acc-instead-of-acc-x/23037)

<div class="topic-metadata">

**Author:** [@stefanluptak](https://forum.elixirforum.com/u/stefanluptak)\
**Replies:** 16\
**Last updated:** [November 7, 2022, 6:06am UTC](https://forum.elixirforum.com/t/why-enum-reduce-fun-arguments-are-x-acc-instead-of-acc-x/23037 "2022-11-07T06:06:51Z")

</div>

Good day everyone! I am using Enum.reduce/3 (Enum — Elixir v1.9.0-rc.0) function quite often and I am regularly wondering why are the arguments for reducing function x, acc instead of acc, x. Almost all functions in El…

---

## [Why didn't we hear about the Lambda COVID variant?](https://forum.elixirforum.com/t/why-didnt-we-hear-about-the-lambda-covid-variant/51428)

<div class="topic-metadata">

**Author:** [@Benjamin-Philip](https://forum.elixirforum.com/u/Benjamin-Philip)\
**Replies:** 0\
**Last updated:** [October 30, 2022, 7:19am UTC](https://forum.elixirforum.com/t/why-didnt-we-hear-about-the-lambda-covid-variant/51428 "2022-10-30T07:19:48Z")

</div>

Because it was anonymous. It’s a dumb joke. I know. Please bear with me. I’ve had this joke in mind for almost a year. Since COVID cases aren’t very common in my city, I finally gathered the guts to actually crack it. …

---

## [Any tips to refactor this open-source module in a more functional programming/Elixir way?](https://forum.elixirforum.com/t/any-tips-to-refactor-this-open-source-module-in-a-more-functional-programming-elixir-way/50789)

<div class="topic-metadata">

**Author:** [@hectorperez](https://forum.elixirforum.com/u/hectorperez)\
**Replies:** 6\
**Last updated:** [October 9, 2022, 9:03am UTC](https://forum.elixirforum.com/t/any-tips-to-refactor-this-open-source-module-in-a-more-functional-programming-elixir-way/50789 "2022-10-09T09:03:45Z")

</div>

Hi! I’m building an open-source site to discover Livebook notebooks. How would you improve the following code? Any tips would be appreciated, thanks! I have this module — full code here: defmodule Notesclub.Workers.U…

---

## [Design Pattern for functional / concurrent programming](https://forum.elixirforum.com/t/design-pattern-for-functional-concurrent-programming/49371)

<div class="topic-metadata">

**Author:** [@Mraiih](https://forum.elixirforum.com/u/Mraiih)\
**Replies:** 15\
**Last updated:** [August 13, 2022, 4:54pm UTC](https://forum.elixirforum.com/t/design-pattern-for-functional-concurrent-programming/49371 "2022-08-13T16:54:17Z")

</div>

Hello people, I am a junior Rubyist and actually learning Elixir for fun. While I was learning some OOP design patterns for my job, I was wondering: “What about Elixir, functional and concurrent programming?” I always …

---

## [Why did not optimize \`Enum.map\`s chain](https://forum.elixirforum.com/t/why-did-not-optimize-enum-map-s-chain/47931)

<div class="topic-metadata">

**Author:** [@keep\_zen](https://forum.elixirforum.com/u/keep_zen)\
**Replies:** 11\
**Last updated:** [May 25, 2022, 2:20pm UTC](https://forum.elixirforum.com/t/why-did-not-optimize-enum-map-s-chain/47931 "2022-05-25T14:20:08Z")

</div>

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 not optimize it. Like this: defmodule A do def add1(e) do IO.puts("+1") …

---

## [Does anyone make regular use of functional programming patterns like functors, monads and applicatives in Elixir?](https://forum.elixirforum.com/t/does-anyone-make-regular-use-of-functional-programming-patterns-like-functors-monads-and-applicatives-in-elixir/42157)

<div class="topic-metadata">

**Author:** [@IVR](https://forum.elixirforum.com/u/IVR)\
**Replies:** 4\
**Last updated:** [May 24, 2022, 6:08am UTC](https://forum.elixirforum.com/t/does-anyone-make-regular-use-of-functional-programming-patterns-like-functors-monads-and-applicatives-in-elixir/42157 "2022-05-24T06:08:25Z")

</div>

Hi all, As the title suggests, I’m curious to know if anyone makes effective use of the mentioned patterns (as well as other similar ones). I started learning these concepts through Scala and I’m having a hard time dige…

---

## [Elegant refactory of a function](https://forum.elixirforum.com/t/elegant-refactory-of-a-function/47139)

<div class="topic-metadata">

**Author:** [@quda](https://forum.elixirforum.com/u/quda)\
**Replies:** 6\
**Last updated:** [April 10, 2022, 9:45pm UTC](https://forum.elixirforum.com/t/elegant-refactory-of-a-function/47139 "2022-04-10T21:45:32Z")

</div>

I’ve got this function, translated from an old codebase (imperative language) into Elixir, by our contractor. def pub0(payload) when is\_map(payload) do if \["country", "commodity", "share", "mon", "cog", "esa1"\] |\> …

---

## [How would I start figuring out how to translate highly data-dependent functions into Elixir?](https://forum.elixirforum.com/t/how-would-i-start-figuring-out-how-to-translate-highly-data-dependent-functions-into-elixir/46701)

<div class="topic-metadata">

**Author:** [@James\_E](https://forum.elixirforum.com/u/James_E)\
**Replies:** 7\
**Last updated:** [March 22, 2022, 4:56am UTC](https://forum.elixirforum.com/t/how-would-i-start-figuring-out-how-to-translate-highly-data-dependent-functions-into-elixir/46701 "2022-03-22T04:56:22Z")

</div>

Say I’ve got the following function fragment: # From page 4 of https://doi.org/10.1063/1.1751381 # \> The global decoding has implicitly done too many exchanges and inversions, # \> so some of them need to be undone. # \> …

---

## [Option type compatible with comprehensions in Elixr?](https://forum.elixirforum.com/t/option-type-compatible-with-comprehensions-in-elixr/46077)

<div class="topic-metadata">

**Author:** [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Replies:** 24\
**Last updated:** [February 24, 2022, 4:53pm UTC](https://forum.elixirforum.com/t/option-type-compatible-with-comprehensions-in-elixr/46077 "2022-02-24T16:53:00Z")

</div>

Background I am trying to up my Functional Programming (FP) skills and one of the things that newcomers first learn in FP is the Option Type (aka, Maybe Monad). Option what? This construct is present in many languages, …

---

## [Podcast: ThinkingElixir 087 - Reviewing Elixir with José Valim - Part 2](https://forum.elixirforum.com/t/podcast-thinkingelixir-087-reviewing-elixir-with-jose-valim-part-2/46215)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [February 22, 2022, 12:31pm UTC](https://forum.elixirforum.com/t/podcast-thinkingelixir-087-reviewing-elixir-with-jose-valim-part-2/46215 "2022-02-22T12:31:20Z")

</div>

In episode 87 of Thinking Elixir, José Valim returns to continue with part 2 of our 5 part series as we count down to the 10 year anniversary of the Elixir project we know and love. In Part 2, we talk through the Elixir …

---

## [Visual explanation of why we prepend instead of appending](https://forum.elixirforum.com/t/visual-explanation-of-why-we-prepend-instead-of-appending/17108)

<div class="topic-metadata">

**Author:** [@davearonson](https://forum.elixirforum.com/u/davearonson)\
**Replies:** 3\
**Last updated:** [February 16, 2022, 5:22pm UTC](https://forum.elixirforum.com/t/visual-explanation-of-why-we-prepend-instead-of-appending/17108 "2022-02-16T17:22:24Z")

</div>

Anybody wondering why it’s a bad idea to append to lists, when using immutable data? I took a crack at explaining it visually on the Hello World Show Live, recorded at DevConf Poland. Check out that section at YouTube …

---

## ["Why no one uses functional languages" - worth (re)reading](https://forum.elixirforum.com/t/why-no-one-uses-functional-languages-worth-re-reading/45646)

<div class="topic-metadata">

**Author:** [@Rich\_Morin](https://forum.elixirforum.com/u/Rich_Morin)\
**Replies:** 2\
**Last updated:** [January 30, 2022, 8:27am UTC](https://forum.elixirforum.com/t/why-no-one-uses-functional-languages-worth-re-reading/45646 "2022-01-30T08:27:07Z")

</div>

Thanks to a mention in today’s “O’Reilly Programming Newsletter”, I found myself skimming an interesting Reddit thread: “Why are imperative programs considered faster than their functional counterparts?” In the thread, …

---

## [Podcast: ThinkingElixir 082 - Reviewing Elixir with José Valim - Part 1](https://forum.elixirforum.com/t/podcast-thinkingelixir-082-reviewing-elixir-with-jose-valim-part-1/45336)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [January 18, 2022, 2:34pm UTC](https://forum.elixirforum.com/t/podcast-thinkingelixir-082-reviewing-elixir-with-jose-valim-part-1/45336 "2022-01-18T14:34:15Z")

</div>

In episode 82 of Thinking Elixir, José Valim joins us to kick off part 1 of a 5 part series as we count down to the 10 year anniversary of the Elixir project we know and love. In Part 1, we talk through the Elixir releas…

[Next page](https://forum.elixirforum.com/tag/functional-programming/9.md?match_all_tags=true&page=1&tags%5B%5D=functional-programming)
