News for hackers. Stuff that matters.
Re:Leanstral 1.5 by zeckalpha on Tuesday June 30, 2026 @08:18PM (#48740948)
Curry-Howard correspondence.
Re:Leanstral 1.5 by esafak on Wednesday July 01, 2026 @12:54AM (#48742396)
It may be theoretically possible, but is it ergonomic and useful? Do you use Lean for your programs?
Re:Leanstral 1.5 by nymalt on Wednesday July 01, 2026 @01:51AM (#48742775)
I used Lean for AoC last time and it’s really good.
Re:Leanstral 1.5 by tsterin on Wednesday July 01, 2026 @01:41AM (#48742706)
use https://rocq-prover.org/ for that purpose
Re:Leanstral 1.5 by siknad on Wednesday July 01, 2026 @07:33AM (#48745098)
Lean is intended by its authors to be also used as a general-purpose programming language. Lean stdlib contains an HTTP server for example.

IMO the biggest problems are the lack of documentation, instability and poor ecosystem. There are user libraries for some programming tasks (e.g. HTTP router, graphics API bindings) but they are mostly proofs of concept and not actively developed or maintained.