Remix.run Logo
▲ nylonstrung an hour ago

This to me is the single most mindblowing part of Lean that has not been fully taken advantage of yet: that types themselves are first class and fully programmable in a way indistinct from normal code

And it compounds with Lean's dependent type system and the ability for proofs to be "bundled" into said dependent types and then erase at elab time