logoalt Hacker News

nextoslast Tuesday at 11:56 PM0 repliesview on HN

Yes, in fact there is research on type systems to ensure information flow control, avoiding unauthorized data access by construction.

Concrete Semantics [1] has a little example in §9.2.

[1] http://concrete-semantics.org/concrete-semantics.pdf