r/functionalprogramming • u/_lazyLambda • Feb 12 '26
Intro to FP Like Hackerrank but for Functional Programming
r/functionalprogramming • u/_lazyLambda • Feb 12 '26
r/functionalprogramming • u/Frere_de_la_Quote • Feb 04 '26
What I'm going to write here could get me banished from hundreds of forums all over the place. I know I take terrible risks but people need to know: Python sucks at ML.
I said it...
Programming in Python is like claiming you are doing the Tour de France, but you're cycling on a fixed bike on top of a truck. Worse, your aerodynamic drag is so bad that you prevent the truck from going full speed... Not sure your pedaling adds anything to the whole system.
This is exactly what is going on. You think you're implementing stuff in Python, but you're just sucking out some fresh blood from underlying libraries in C or in Rust... Most of the time, Python sits idle while waiting for the big boys to do the actual work, because when you are using numpy or PyTorch, everything happens outside the VM.
I want to join the happy few who are doing stuff in AI. I want to be part of the churn. But really, Python? People claim that it is such an easy language... You read it as if it was written in English... Ok.. Why do I need to read the doc over and over again to understand what **kwargs do?
What is that:
mlx.core.multiply(out_glu, mlx.core.add(x_linear_clamped, mlx.core.array(1.0)))
It seems that Lisp stabbed Python in the back...
What can I do?
My name is not Frankenstein, but LispE is still my creature, a chimera made out of flesh torn off Haskell and APL, a monstrosity that does not respect the true linked lists, which are so dear to real lispians.
LispE is implemented with arrays, which not only enables APL-style vectorized operations but also plays nicely with functional patterns like map/filter/take/drop without the overhead of list traversal. There is full documentation about the language here.
By the way, the Python thing can now be implemented in LispE directly:
(mlx_multiply out_glu . mlx_add x_linear_clamped . mlx_array 1.0)The last argument of each function can be inserted with a . to get rid of some parentheses.
Note: LispE is fully Open Source with a BSD-3 license, which is very permissive. My only interest here is to provide something a bit different, my personal take on Lisp, but my true reward is the joy of seeing people use my tools. It is a little more than a pet project, but it is far from being a corporate thingy.
Now, I have to present you the real McCoy, I mean the real stuff that I have been implementing for LispE. Cling to your chair, because I have worked very hard at making Claude Code sweat over these libraries:
It's still evolving, but it's production-ready for real AI work. Furthermore, it's fully compatible with PyTorch and models from HuggingFace, Ollama, or LM-Studio. You can fine-tune a model with LispE and save it in PyTorch format. You won't be stranded on an island here.
You'll find plenty of examples and documentation in each of these directories.
For instance, there is a chat example with lispe_gguf, which is fun and contains only a few lines of code. You will also discover that inference can be faster with these libraries. LoRA fine-tuning is 35% faster than the equivalent Python code on my M4 Max...
Everything can be recompiled and tailored to your needs. Even the C++ code is friendly here...
Note that I already provide binaries for Mac OS.
If you have any questions or any problems, please feel free to ask me, or drop an issue on my GitHub.
r/functionalprogramming • u/n_creep • Jan 28 '26
r/functionalprogramming • u/mttd • Jan 28 '26
r/functionalprogramming • u/MagnusSedlacek • Jan 26 '26
Marmelade is a functional programming language in the spirit of the MLs, with currying, pattern matching, first class lambdas, type polymorphism and type inferencing. It uses a bidirectional type checker, based on the perhaps infamous W-algorihm.
r/functionalprogramming • u/_lazyLambda • Jan 22 '26
r/functionalprogramming • u/willehrendreich • Jan 21 '26
https://github.com/FidelityFramework
I am so impressed with the vision, and the clear engineering expertise being brought to bear here.
For those unaware, Houston is bringing fsharp to the bare metal, sacrificing nothing of the myriad ways that fsharp is absolutely fantastic, and making real innovations happen in his own custom compiler to take fsharp to low level, manual memory managed, native code. It takes an approach that, as far as I can tell, is superior to Rust's for managing lifetimes, but is INFERRED by default, and has the ability to be specific when you want some specialized allocation strategy.
This guy's the real mvp, and I think the fp community as a whole should get behind him, and help however we can.
r/functionalprogramming • u/Emotional_Gold138 • Jan 21 '26
The next edition of the Lambda World event will take place in Torremolinos, Malaga (Spain) on October 29-30, 2026.
The Call for Papers is OPEN until the 31st of March.
We’re looking for real-world applications of functional programming.
We want to hear from people who:
Whether your experience is in web, mobile, AI, data, or systems programming, we’d love to have you on stage!
As a novelty, this year we are enjoying together with J On The Beach and Wey Wey Web. Another 2 international conferences about systems and UI.
Link for the CFP: www.confeti.app
r/functionalprogramming • u/giacomo_cavalieri • Jan 17 '26
r/functionalprogramming • u/mttd • Jan 16 '26
r/functionalprogramming • u/cekrem • Jan 16 '26
Some input on this one would be awesome! I'm trying to find the sweet spot between accuracy and simplicity...
r/functionalprogramming • u/macrohard_certified • Jan 12 '26
r/functionalprogramming • u/cekrem • Jan 05 '26
https://cekrem.github.io/posts/functors-applicatives-monads-elm/
Do you generally agree with this? It's a tough topic to teach simply, and there's always tradeoffs between accuracy and simplicity... Open to suggestions for improvement! Thanks :)
r/functionalprogramming • u/_lazyLambda • Jan 04 '26
r/functionalprogramming • u/Code_Sync • Jan 02 '26
The CFT closes on January 6th.
Important reminder: We welcome talks from developers at all levels. You don't need to be an expert to have valuable insights to share.
Solved an interesting problem? Built something useful? Learned hard lessons in production? The community wants to hear about it.
First-time speakers are encouraged to apply. Your fresh perspective and real-world experience matter.
Submit your proposal: https://sessionize.com/elixirconf-eu-2026/
r/functionalprogramming • u/Best-Repair762 • Dec 30 '25
I completed Martin Odersky's course "Functional Programming Principles in Scala" in around 2015. That course was my only introduction to functional programming and the new ways in which it makes you think. I did not follow up on learning more FP after that except for some dabbling in Haskell which I've mostly forgotten.
If I wanted to restart from the basics - today - what are some good suggestions for courses?
My programming experience has been with Java, Python, JavaScript/TypeScript, and a bit of Ruby and Go. I have found that hands-on courses work best for my learning style, hence the request for courses (either videos or lecture notes with assignments).
r/functionalprogramming • u/kinow • Dec 28 '25
r/functionalprogramming • u/peterb12 • Dec 26 '25
r/functionalprogramming • u/jusername42 • Dec 21 '25
subscribe for part 2?
send me papers to read?
r/functionalprogramming • u/peterb12 • Dec 19 '25
r/functionalprogramming • u/cekrem • Dec 19 '25
r/functionalprogramming • u/lastsurvivor969 • Dec 17 '25
Hey I've been thinking about how to understand and explain monads for a while, trying both from a formal and practical point of view. It's been nagging me for a while, so I figured I could share my thoughts so far based on different sources I've read.
I'm approaching this from the perspective of software development. I would like to hear if others agree/disagree with the intuition I have.
The formal prerequisites of monad:
Semigroup (associativity): A formal property where; any order grouping of operations will yield the same result.
Monoid (Semigroup & Identity): A formal property where; The semigroup property is present and an "identity" operation that makes it possible to return the result of previous operations.
Combine this with features of functional programming:
Model types with uncertainty: A type that encapsulates maybe a value OR an error
Functions as values: Generally speaking, higher order functions that take arbitrary functions (expressions) as input.
The above properties/features compliment each other so that we arrive at the monad type signature (takes two input arguments): m a -> (a -> m b) -> m b
How is a monad useful:
What business implications are there to using monad:
r/functionalprogramming • u/josephjnk • Dec 15 '25