SML/NJ Library Manual


The ListSetFn functor


Synopsis

functor ListSetFn (ORD_KEY) : ORD_SET

The ListSetFn functor implements applicative sets on an ordered type. It uses a sorted list representation.

See Also

ORD_KEY, ORD_SET, BinarySetFn, SplaySetFn, ORD_MAP

Discussion

Note that adding an element to a set that already contains such an element (in the sense that both elements are considered equal by the comparison function) causes the current element to be replaced by the new one.


[ Top | Parent | Contents | Index | Root ]

Last Modified June 10, 1998
Comments to John Reppy
Copyright © 1998 Bell Labs, Lucent Technologies