collections-0.3.1: Useful standard collections types and related functions.

Data.Set.List

Synopsis

Documentation

newtype SetList s Source

View a list of as a Set collection.

This allows to feed sequences into algorithms that require a Set without building a full-fledged Set. Most of the time this will be used only when the parameter list is known to be very small, such that conversion to a Set would be to costly.

Constructors

SetList 

Fields

fromSetList :: s
 

Instances

Typeable1 SetList 
(Eq s, Eq a, Foldable s a) => Eq (SetList s) 
Show l => Show (SetList l) 
Eq a => Monoid (SetList [a]) 
Foldable (SetList [a]) a 
Eq a => Set (SetList [a]) a 
Eq a => Unfoldable (SetList [a]) a 
Eq a => Collection (SetList [a]) a 
Eq a => Map (SetList [a]) a ()