Haskell Hierarchical Libraries (collections package)ContentsIndex
Data.Set.List
Synopsis
newtype SetList s = SetList {
fromSetList :: s
}
Documentation
newtype SetList s

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
fromSetList :: s
show/hide Instances
Typeable1 SetList
Eq s => Eq (SetList s)
Eq a => Monoid (SetList [a])
Ord s => Ord (SetList s)
Show l => Show (SetList l)
Foldable (SetList [a]) a
Eq a => Set (SetList [a]) a
Eq a => Collection (SetList [a]) a a
Eq a => Map (SetList [a]) a ()
Produced by Haddock version 0.7