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.

📉 Falling 0.5x Programming Languages
2,816
Comments
19
Years Active
5
Top Authors
#81
Topic ID

Activity Over Time

2008
2
2009
7
2010
14
2011
39
2012
43
2013
83
2014
219
2015
163
2016
237
2017
229
2018
233
2019
237
2020
261
2021
232
2022
247
2023
227
2024
121
2025
219
2026
3

Keywords

CS e.g SUP TDD lang.org ufmg.br impredicative.com ML homepages.dcc i.e dependent types typed type haskell language languages typed languages racket typing

Sample Comments

kachnuv_ocasek Jul 14, 2021 View on HN

Check out any dependently typed language.

ufo May 9, 2014 View on HN

You should check out some dependently typed languages.

platz Feb 7, 2014 View on HN

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/

Mythroat Sep 22, 2018 View on HN

Is there a reason dependent types are not more common?

whyonearth Dec 15, 2018 View on HN

Only if your language supports dependent types.

mkleczek Nov 26, 2022 View on HN

No, dependent types are no the answer - read (or watch) this: https://pron.github.io/posts/correctness-and-complexity

openfuture Dec 21, 2016 View on HN

You just described dependent types, they´re available in Idris.

mehrdadn May 11, 2020 View on HN

Nope, it's a Programming Language Theory thing. See here: https://en.wikipedia.org/wiki/Dependent_type

acconsta Sep 24, 2015 View on HN

For... building software? I thought dependent types haven't escaped research languages.