3 ms·
Lean4 is a general purpose programming language.
by trenchgun 4mo ago
Lean4 is a general purpose programming language.
- singularity2001 4mo agoHave you tried writing any programs in it?
- ndriscoll 4mo agoI don't see why it would be particularly difficult beyond not already having a lot of IO libraries (like Kafka connectors or whatever). Pure functional programming in Scala with IO monads is quite pleasant.
- trenchgun 3mo agoI did write small programs myself, but mostly with Claude Code. It was very pleasant to work in it with Claude Code. Implemented a shell and 40 of coreutils. Did not really get very far with proving properties of them, but had working programs. Reading Lean4 is pretty nice. Nicer to read than OCaml, almost as nice as Haskell.