
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.

289 Listeners

4,170 Listeners

7,230 Listeners

577 Listeners

576 Listeners

15,950 Listeners

14 Listeners

29 Listeners

65 Listeners