
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.
By Aaron Stump5
1919 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.

288 Listeners

4,167 Listeners

7,244 Listeners

577 Listeners

551 Listeners

16,525 Listeners

14 Listeners

29 Listeners

67 Listeners