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.
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.
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?
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
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.
borar retweeted
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-…
#adventofcode Day 4 in #haskell -- always fun to be able to do some knot-tying in these, taking advantage of lazy lists and recursion
github.com/mstksg/advent-of-…
#adventofcode Day 3 in #haskell -- sparse grids with IntMap/IntSet and another favorite `inits`/`tails` trick
github.com/mstksg/advent-of-…
#adventofcode Day 3 in #haskell -- sparse grids with IntMap/IntSet and another favorite `inits`/`tails` trick
github.com/mstksg/advent-of-…
#adventofcode Day 2 in #haskell -- another clean modular arithmetic win with finite-typelits
github.com/mstksg/advent-of-…
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
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.
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
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.
borar retweeted
Not Slop: Haskell in the Age of AI well-typed.com/blog/2026/12/…
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
#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-…

























