3 ms·
DML link in the article is broken - Might I instead point you to a relevant ATS-lang (successor2 of DML) documentation about `Dependent Types in ATS2` https://a
by __vec__ 3y ago
DML link in the article is broken - Might I instead point you to a relevant ATS-lang (successor2 of DML) documentation about `Dependent Types in ATS2` https://ats-lang.sourceforge.net/DOCUMENT/INTPROGINATS/HTML/c2100.html https://ats-lang.sourceforge.net/DOCUMENT/INTPROGINATS/HTML/...
This link discusses, along with other usefulness, the use of dependent types for the likes of array bounds checking, creating "sorts" of numbers satisfying various predicates, and more interestingly the utility of combining Dependent Types with PURE Linear Types (as opposed to Affine Types a la Rust lol) ...
AFAIK, DML was originally intended as a gateway to constructing typed assembly (DARPA)
Having been a researcher in this field for, this quote from the original paper on 'Liquid Types' originally seemed suspect....
"a system that combines Hindley-Milner type inference with Predicate Abstraction to automatically infer dependent types precise enough to prove a variety of safety properties" .... type inference with dependent types is undecidable!? Then again, this is one of the primary focuses of ATS3, I digress...
This area of research is rich in pipe-dreams and cerebral investigation. From my biased opinion, ATS3 (the current version of the successor3 of DML, being actively devloped by the PI Professor Hongwei Xi, is the only language in this space to be aimed at practical programming in industry... of course there is always haskell....)
What I mean is that, TEMPLATES++ Linear Types + Dependent Types + Hindley Milner Type inference ....
At the end of the day, who doesn't love hyper efficient meta-programming magic?
- doublec 3y agoATS is great, I’ve used ATS1 and ATS2 quite a bit and it worked well. Unfortunately it suffers a bit from the “rewrite every few years” as research directions change.