Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
polymorphism with dependent types
1
Name:
Anonymous
2012-10-14 17:24
are there any languages that provide this? Types that depend on values with a set of associated methods complete with inheritance and the whole deal?
2
Name:
Anonymous
2012-10-14 17:33
Dependent types?
3
Name:
Anonymous
2012-10-14 17:46
Haskell
4
Name:
Anonymous
2012-10-14 18:02
>>2
https://en.wikipedia.org/wiki/Dependent_types
>>3
I will continue to learn it. Can it do dynamic dispatch based upon the dependent type? Or is it just static type checking with dependent types?
5
Name:
Anonymous
2012-10-14 18:03
>>4
Types
cannot
change
6
Name:
Anonymous
2012-10-14 18:05
>>5
but they can be grouped under a base type, and applications to instances of the base type can invoke implementations in the more specific sub types.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List