logoalt Hacker News

danilafe • yesterday at 3:43 PM • 3 replies • view on HN

It's not a bad choice! But I am yet to see any "real world software" written in it, in public or in private.


Replies

Ciantic • yesterday at 5:08 PM

It definitely isn't bad choice, it reads a lot like Haskell. I've been exploring this myself too, haven't tried performance, but there are some Postgres / HTTP libraries for it.

Its macro capabilities make it very nice for SQL driven apps. I've been working one small invocing schema, and you can derive the Insert, Patch etc types with just macros with `deriving Patch` at the end of your type.

Also, one of my reasoning is that if these AI LLMs are tuned to work with millions of lines of Lean, it probably is very efficient for it.

nylonstrung • yesterday at 5:31 PM

I'm very focused on the "real world software" use case for Lean. Right now it's pretty thin but Nick Palladinos has done some great work IMO

https://github.com/palladin/lean-linq https://github.com/palladin/lean-cloud

Ericson2314 • yesterday at 3:50 PM

I wrote tic tac toe for the terminal in it :)

➕ show 2 replies