| ▲ | jeremyjh an hour ago | |
What was surprising to me is that (at least some) Lean code is easier to understand than the machinery behind Servant, since you are just using normal code to operate on types. | ||
| ▲ | nylonstrung an hour ago | parent [-] | |
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 | ||