Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Introduction to Functional Programming in OCaml. Parent comment
https://en.wikipedia.org/wiki/PreScheme
The medium approach might be using linear types like in ATS language:
http://www.ats-lang.org/
http://ats-lang.sourceforge.net/PAPER/LDD-plpv07.pdf
The heavyweight approach is integrating one with a theorem prover with C extraction like in COGENT:
https://ts.data61.csiro.au/projects/TS/cogent.pml
https://ts.data61.csiro.au/publications/nictaabstracts/8956....
Hope these give you ideas of how it can be done with what benefits and effort.
There are no comments on this comment yet.
https://en.wikipedia.org/wiki/PreScheme
The medium approach might be using linear types like in ATS language:
http://www.ats-lang.org/
http://ats-lang.sourceforge.net/PAPER/LDD-plpv07.pdf
The heavyweight approach is integrating one with a theorem prover with C extraction like in COGENT:
https://ts.data61.csiro.au/projects/TS/cogent.pml
https://ts.data61.csiro.au/publications/nictaabstracts/8956....
Hope these give you ideas of how it can be done with what benefits and effort.