r/functionalprogramming • u/kichiDsimp • Mar 01 '26
Question FP lang for 2026
Hey folks, my question is what functional programming language/tech you are using for the year of 2026 both as a hobby and professionally Please provide reasons for the hobby.!
42
Upvotes
30
u/Ops_Mechanic Mar 01 '26
Scala, Haskell
27
u/Marutks Mar 01 '26
Clojure
20
u/Worldly_Dish_48 Mar 01 '26
I was using Haskell both personally and professionally until last year. This year at work, I will be using Python. But Haskell will still live on in my personal projects portfolio! Apart from that I’m planning to learn Elm and Gleam
19
u/BosonCollider Mar 01 '26
The functional lisps (scheme, clojure) and the ML & Haskell family languages (OCaml, Elm, Haskell) are both great. Clojure had lost some momentum but the JVM getting virtual threads recently has made it even better at concurrency than it used to be, to the point where I would consider it to have the nicest single-machine concurrency story of any language.
Then there's the BEAM family languages (Erlang, Elixir, Gleam), Elixir is a bit inspired by the lisps while Gleam is more inspired by the MLs, but both borrow from Erlang since they are hosted on it.
10
u/dadhiWeaponX Mar 01 '26
Roc obviously!
10
u/MysteriousGenius Mar 01 '26
Going to copy-paste a comment I left recently in another topic, but I'm all for Unison!
It takes all the best from most FP languages and strips away everything confusing, unpleasant and legacy (build systems, laziness, ambiguity, jargon)
It's core idea (has little to do with the language itself, but mostly the DX) is very revolutionary, promising and freeing
Community is small, but very active. The authors of the lang also happen to be authors of The Red Book of Scala - one of the best compsci-related books I've read (along with SICP). Also you feel there's something cool to contribute.
Algebraic effects - I was hesitant at first as I fell a victim of Monadic Stockholm syndrome, but nowadays I think the future lays there. Unison is one of very few langs offering a mature algebraic effects
8
u/Sarwen Mar 01 '26
As a hobby, I learn Lean 4. Most theorem provers are not very practical as general purpose programming languages but the team behind Lean 4 visibly put lots of efforts to make it a practical programming language. It's very much a strict version of Haskell with dependent types.
Obviously, there are much much less libraries available on the programming side than any other usual FP language although the standard library is nice. Regarding the tooling, it takes inspiration from Rust with lake as it's cargo and elan as it's rustup. The learning material is very too, it has lots of examples and exercises.
It's probably not production-ready yet, but it's very close.
Professionally I use Scala 3. It's impressive the work they have done on the third version.
8
u/a3th3rus Mar 01 '26
I have been an Elixir lover for years, and I'm still gonna use it in 2026.
8
u/jeenajeena Mar 01 '26
7
u/jpsgnz Mar 01 '26
Elixir, which I love.
19
u/dominjaniec Mar 01 '26
F#, as it's on .NET
6
u/AriyaSavaka Mar 01 '26
Scala. Good FP patterns, good type system, good OOP hybrid, good speed, pleasant to write, easy to read, fully interopable with Java ecosystem.
5
u/Comakip Mar 01 '26
I want to try out Gleam this year!
5
u/mister_drgn Mar 01 '26
We used to use Clojure at work (computer science research), but I recently ported our platform over to Swift, using Swift macros to support various functional programming patterns—Swift supports many out of the box.
Casually, I’ve been following a lot of developing languages with interest. Roc is very cool, and I think it has the best chance of breaking out in the next few years (maybe Gleam level, but probably not). Koka is maybe my favorite language under development—it uses algebraic types instead of monads, which feels like the future of functional programming. Unfortunately Koka itself has very little developer support, so at best it will likely contribute ideas that get used in other languages.
Speaking of algebraic types, I would love to see OCaml get type-checking for its algebraic types, but that seems unlikely to happen anytime soon. Maybe in OCaml 6, if and when that happens. That and modular implicits (which likely is coming to OCaml in the next year) will make OCaml really exciting and powerful I think. At that point, I think it would easily surpass Haskell in terms of features that would draw me to the language. But again, I say that as a casual observer.
5
u/jake_schurch Mar 01 '26
Elixir!
9
u/peripateticman2026 Mar 01 '26
Ocaml is the most pragmatic Functional Programming language.
3
u/benevanstech Mar 01 '26
I still keep coming back to Clojure, b/c a lot of my professional work is JVM.
When I have time, I do want to make a proper attempt at learning Lean.
3
u/ebykka Mar 01 '26
I play with Scala mostly because of huge amount of available Java libraries
3
u/fridofrido Mar 01 '26
Haskell and Agda. Both for hobby and professionally.
I'm also somewhat open to Idris (has some experience) and Lean4 (doesn't really have experience).
3
u/RustinWolf Mar 01 '26
I’m betting hard on Haskell, it’s an amazing language to express ideas in and even the imperative slop AI produces is miles ahead of most other languages.
Clojure comes close with an even better feedback loop (compilation sucks in Haskell) but at the expense of type safety, which I’m personally struggling without.
3
u/Merthod Mar 01 '26
Learned some OCaml and Elixir.
3
u/JeffMcClintock Mar 02 '26
C++ (the functional parts)
You asked.
3
u/willehrendreich Mar 02 '26
Fsharp with my very own magic, called sagefs. https://github.com/WillEhrendreich/SageFs
I'm building it right now, so it's early days, has some warts, but it is absolutely crazy to have mcp hooked into a repl that loads all your dependencies.
I'm also building it to have the live unit testing feature that visual studio enterprise only gives to csharp people for 250 a month and giving it to only fsharp people for free.
There's no other way to fly at this point for me.
4
u/recursion_is_love Mar 01 '26 edited Mar 01 '26
Uiua not strictly functional in traditional sense (not lambda calculus based, but point-free concatination language is bascially combinatory logic so it is still functional), it combine APL and Forth which are the languages I also love.
4
u/lilyallenaftercrack Mar 01 '26
Always Elm. I've been doing a lot of AI-assisted coding and Elm is great because it provides a very good set of safeguards, which make agents much more reliable in general
2
u/Inconstant_Moo Mar 01 '26
Pipefish, my own language. It's lovely except when it crashes.
I'm currently using it to write a little app for another hobby, conlanging (the creation of fictitious languages a la Tolkien). I want a program where I can have a list of words and then describe a sound change in the REPL like
initial voiceless fricative -> affricate, and have it infer the nearest affricate so that e.g initialfgoes topf, and then apply it to the word list.Doing this has turned up some interesting bugs in Pipefish itself.
2
u/mattdreddit Mar 02 '26
Lean4 - even crazier types than Haskell, and proofs to boot!
2
u/kaidokuuppa Mar 03 '26
Professionally: Python (does it qualify?), Scala. In my hobby projects: Rust, F#
2
u/sarabadakara Mar 05 '26 edited Mar 05 '26
Struggling to find a new one to play with. Basically all I'm looking for is no nulls, currying, and function composition. Basically Elm but not locked into the browser or Haskell without monad stacks. All the new languages seem to take the stance of explicitly not having composition because hard for new people. `|>' pipeline is fine and what I use for most things, but creating an anonymous function and a variable just to pass through irks me, espeeecially with how verbose some of these languages anonymous functions are.
I'm using Gren atm to make a simple TUI thing, but not having an LSP feels bad.
I used Scala for years and loved it but I end up thinking it's a bit much for some of my one off projects. Tried ocaml but then when i decided to do tui I got the impression that the package ecosystem is basically dead.
2
u/AFU0BtZ Mar 05 '26
Scala 3 to be specific. With typelevel goodness. Flix would be another very good candidate with an effect system in place.. https://doc.flix.dev/effect-system.html
2
u/Scala-Teams Mar 02 '26
Scala for work
2
u/TechNerd_42 Mar 03 '26
Heard of Clean?
2
u/karoussa Mar 04 '26
Java21
-6
u/FalseRegister Mar 01 '26
JavaScript
2
u/EluciusReddit Mar 01 '26
Mainly F#, love it. hoping to get into Lean4 for fun.
3
u/[deleted] Mar 01 '26
[removed] — view removed comment