
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,178 Listeners

7,226 Listeners

571 Listeners

505 Listeners

15,973 Listeners

13 Listeners

29 Listeners

62 Listeners