HN user

__vec__

34 karma
Posts0
Comments4
View on HN
No posts found.
[GET] "/api/user/__vec__/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

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/...

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?