Dependent Types
The cluster discusses dependent types in programming languages, with frequent recommendations of Idris, Agda, and others, debates on their practicality, adoption, and comparisons to languages like Haskell.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Check out any dependently typed language.
You should check out some dependently typed languages.
Try programming in a language with dependent types.
I believe dependent typing is what you're after. Have you looked at Idris?http://www.idris-lang.org/example/
Is there a reason dependent types are not more common?
Only if your language supports dependent types.
No, dependent types are no the answer - read (or watch) this: https://pron.github.io/posts/correctness-and-complexity
You just described dependent types, they´re available in Idris.
Nope, it's a Programming Language Theory thing. See here: https://en.wikipedia.org/wiki/Dependent_type
For... building software? I thought dependent types haven't escaped research languages.