| ▲ | jeremyjh an hour ago | |
The author acknowledged that. I recently discovered this on my own and was surprised to learn that: * Lean 4 is self-hosting * Lean has monadic I/O, do notation, type classes and other Haskell inspired syntax and language features. * There is at least one guy building infrastructure fundamentals for web app development: https://github.com/paulbutcher?tab=repositories&q=&type=&lan... * If you know and like Haskell, Lean is quite approachable (at least initially). * Dependent types can be much easier to understand than the capabilities possible with the many different type extensions in Haskell. For example, lean-pq has compile time verification of usage of table schemas (that are defined in code) and the machinery for that is very simple to understand compared to the various Haskell libraries that achieve this (click the Try it link at the bottom of the README section on this at https://github.com/typednotes/lean-pq#compile-time-column-ve...) | ||
| ▲ | latentsea 24 minutes ago | parent [-] | |
Another HNer shared this recently too | ||