
Sign up to save your podcasts
Or
Using indexed types, we can restrict the form of legal values in some datatype. A nice example is binary search trees, where we can statically enforce the binary search tree property using an indexed type bst l u, where l is a lower bound and u an upper bound on the data stored in the tree.
5
1717 ratings
Using indexed types, we can restrict the form of legal values in some datatype. A nice example is binary search trees, where we can statically enforce the binary search tree property using an indexed type bst l u, where l is a lower bound and u an upper bound on the data stored in the tree.
272 Listeners
90,576 Listeners
30,975 Listeners
109 Listeners
4,130 Listeners
31 Listeners
15,306 Listeners
34 Listeners
11 Listeners
10,285 Listeners
3,079 Listeners
47 Listeners
21 Listeners