News for hackers. Stuff that matters.
Re:Lean Now Ships with Verified Kernels by eru on Sunday October 18, 2026 @04:04AM (#50138974)
> A coworker recently remarked that lean seems like a new foundational language family that every programmer should be able to read, on par with C and Python, and I think it’s pretty hard to disagree with that.

Lean isn't super special in that regard. If you know Haskell or OCaml you are already pretty far along in at least being able to read Lean, as it comes out of a similar-enough tradition.

Re:Lean Now Ships with Verified Kernels by gf000 on Sunday October 18, 2026 @04:10AM (#50139012)
I would argue that it's pretty damn far from the Agda/Coq/lean world.

You really have to wrap your head around dependent types and _≡_. In my experience it was far more mind blowing than just FP.

Re:Lean Now Ships with Verified Kernels by eru on Sunday October 18, 2026 @09:00AM (#50140722)
GADTs and a few of the wilder Haskell extensions sort-of go a bit in that direction.

But yes, you have to wrap your head around dependent types.

Re:Lean Now Ships with Verified Kernels by dnautics on Sunday October 18, 2026 @02:13PM (#50143738)
> If you know Haskell or OCaml you are already pretty far along in at least being able to read Lean

But that's not really what you want, right? Speaking as a programmer, I'd think you would want a language where the prerequisite is "knowing a math proof", not "some mathey PL"

> every programmer should be able to read

You want "every math major should be able to read it", not "every programmer"

Re:Lean Now Ships with Verified Kernels by eru on Sunday October 18, 2026 @10:21PM (#50147639)
> But that's not really what you want, right? Speaking as a programmer, I'd think you would want a language where the prerequisite is "knowing a math proof", not "some mathey PL"

Well, I was merely replying to this:

> [...] lean seems like a new foundational language family that every programmer should be able to read, [...]