NEXT ·  UP ·  PREVIOUS ·  CONTENTS ·  INDEX

Sets in the Standard ML library

Having seen a simple implementation of sets as ordered lists we could improve this to an implementation which used binary trees and improve that to an implementation which used balanced trees. Fortunately this has already been done for us by Stephen Adams [Ada93] whose paper describes his implementation. The implementation is named Binaryset in the Standard ML library.

NEXT ·  UP ·  PREVIOUS ·  CONTENTS ·  INDEX