Closed sirinath closed 4 years ago
Sorry, but it's not a goal of the Hegel project. At this moment, we try to implement a strong type system with high-level type inference. Maybe in the future, we will add dependent types, but it's so far from really program verification. Thank you for your question ^_^.
This might be of interest: Dependent Types for JavaScript
Is it possible to take a step beyond type checking and add program verification and proofs like that is found in WhyML, Dafny and Ada SPARK 2014?
Following is a WhyML example:
The key is we can have specifications like:
and