Unofficial Hacker News companion — get notified on comment replies, and more.

So you want to build a mainstream formally verifiable language (opens external site)

119 points by mpweiher 2 days ago | danilafe.com | 82 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. Does Lean have Effects? Can I put "does not access file system or global variables" on a high-level function and know that it is true for all sub-functions?
    Replies (1)
    1. Lean encapsulates side effects via IO. If IO is not in the type the function and it's subfunctions cannot access the file system without unsafe escape hatches.