Red-black trees with types
Red-black trees with types
复制标题
具有类型的红黑树
DOI:
--
复制
发表时间:
2001
影响因子:
1.1
通讯作者:
Stefan Kahrs
中科院分区:
文献类型:
--
作者:
Stefan Kahrs
Chris Okasaki showed how to implement red-black trees in a functional programming language. Ralf Hinze incorporated even the invariants of such data structures into their types, using higher-order nested datatypes. We show how one can achieve something very similar without the usual performance penalty of such types, by combining the features of nested datatypes, phantom types and existential type variables.