logoalt Hacker News

epguiyesterday at 7:39 PM2 repliesview on HN

Is Lean a DSL? I’d argue it’s a general purpose programming language that excels at proofs.


Replies

hyperhelloyesterday at 7:42 PM

Well, there’s actually a very small set of operations that allow all computation, so it doesn’t take much to be a DSL and a GP too; I’d be surprised if a proof language couldn’t swing it.

mswphdyesterday at 9:43 PM

it is a general-purpose programming language. for example, it's standard library allows you to do file io, networking, etc.