borar (@Savlambda) profile picture
Joined July 2016
Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)Photo by borar (@Savlambda)
Huge themes of my personal state of software engineerig art: * (pure) FP in back-end and front-end * the Onion architecture * REST
2
28
Yesterday I found out that type families can be used to define constraints as well. Used it to restrict something in a GADT. Yet another small tool for domain modeling in Haskell.
4
1
17
730
This looks very interesting, thank you!
1
2
40
After numerous frustrating conversations with strangers on the Internet but also even colleagues, I formulated a somewhat confronting principle: usefulness of something does not depend on you understanding it. I am still to use this in a real conversation.
“The Lean proof of the Riemann hypothesis isn’t valid” is in the same epistemological category as “perpetual motion is possible” & “you can write a program to tell whether another program will halt or not.” There are two types of people: those who grasp this, & those who don’t.
1
2
95
this whole is Lean "a proof" debate is theatre yeah the proof is a text file. If you read it (and all the implicit references, mathlib, the kernel evaluator etc), *that is the proof*. Even if *you* can't understand it is a proof in chinese only a proof if you read chinese?
33
14
5
365
17,522
"Is being homomorphic a joke to you?!"
1
3
145
How dumb would be to introduce monad and comonad keywords into a language?
13
1
35
4,075
Nah, too specific
3
110
Map and Bind are how functional code works with a value inside a wrapper like Result<T>, without unpacking it at every step. Map: the next step returns a plain value. Result<A> becomes Result<B>. Bind: the next step returns its own Result because it can fail. Bind flattens it so you don't get Result<Result<B>>. If any step in the chain fails, the rest are skipped and the errors come out at the end. This pattern removes a lot of failure checks from your mainline code. github.com/d20Tek/d20tek-fun…
1
2
53
I'm my library all of the other methods are implemented based on Match. It seems to work well, but maybe there's a more efficient way of doing it.
1
18
Conceptually "match" is nothing more than pattern matching, so it does not really fit in the group. However, bind is more powerful than map and can be used to implement it. Match is indeed needed in bind.
6
Note that Map and Bind are just specializations/helpers of the Match function.
1
1
22
It's actually the other way around: map and match can be implemented using bind. It is more fundamental than the other two.
1
7
If A.I. writes a novel so good - and it will - that it makes you laugh, cry, and change your opinion of the world - is that a worthless novel because it was created by AI? No, clearly it’s not. Opinions like this, below, are going to age really badly
The only thing that gives music any value at all, just like any other art form, is that it is an expression of the human soul. AI generated music is worthless and will always be worthless and no amount of technological advancement can ever change that. I’m sure an AI can generate something that sounds like a symphony. But it can never create anything with a fraction of the value or meaning of Beethoven’s 9th. If you can’t see that, then you are intellectually and spiritually deformed. I don’t know how else to put it.
52
19
17
28,445
Absolutely yes
39
I write everything by hand, and like many other people who do the same, I would like to get full credit for my work. Exploring some ideas on how to see less synthetic text: evancz.dev/towards-proof-of-…
11
20
1
215
12,223
A fun experiment. Take a small program or algorithm which is formally verified for correctness. Let an LLM review it. What will be the output?
1
106
I'm in awe at this new paradigm of software I built weft.kndwin.dev when effect ui dropped cause I noticed they didn't have a design system on top. github.com/kndwin/weft/commi… and 1 week later someone rewrites their app on effect and weft www.nitter.cf/jmddotfm/status/212830… this would've never happened a few months a go and I feel so honored to be apart of this timeline
Just ported over the new Owl3 to @EffectTS_ UI and @kndwindev's `weft` package for styling Feels good man.jpg
4
12
784
What new paradigm of software?
1
31
LLMs are actually amazingly good at understanding abstractions, otherwise they wouldn't be able to convert vague prompts into working applications. In fact, I'd say that it's more likely for an LLM to understand a poor abstraction than to update the same code in 30 places.
I think the future of web frameworks built for agents look nothing like the past. They need to focus on massive parallelism and minimal abstractions. DRY is a human pattern. Agents need small, low-level libraries to wrap access. Then something like Fowler's transaction scripts.
7
1
1
23
1,078
I'd even say it is an optimal way of applying LLMs: have them operate on a (vast and modular) set of well-understood, well-defined and well-behaved abstractions and consider LLM reinventing things a failure, unless that is an explicit goal.
4
54
borar retweeted
New in tree-sitter-fsharp: - F# 11 record spreads: { ...row; Id = id } and type T = { ...Base } - while! in computation expressions - Coloured #if conditions - Fixed $"{dir}\{file}" interpolation Works in Helix, Zed and Nacara github.com/MangelMaxime/tree… #fsharp
4
23
522
I realized that @EffectTS_ is creating a new term. I tried to describe it as simply a library, but that's not right. So I came up with the term "logic framework". It describes exactly where it should be used.
2
1
36
11,639
The term is functional programming :)
2
12
501
Not Slop: Haskell in the Age of AI well-typed.com/blog/2026/12/…
5
26
1
172
9,683
Amazing how agents are just as bad as humans at estimating how long things will take. > ... this is a large, multi-hour, refactor ... > (7 minutes later) done & validated
11
1
1
40
2,862
That's because they are not really estimating anything.
1
49
borar retweeted
#adventofcode 🌲⭐❄️ this is here again this year :D Day 1 is a straightforward #haskell ism, but it is probably just as simple in every language anyway heh github.com/mstksg/advent-of-…
2
1
9
671
"Is this rollercoaster safe?" "People who made it really did their best." And so on. Not a concersation which happens anywhere.
A short story.
56