Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromDistinctDescList :: [a] -> Set acontainers Data.Set Build a set from a descending list of distinct elements in linear time. The precondition (input list is strictly descending) is not checked.
fromList :: Ord a => [a] -> Set acontainers Data.Set Create a set from a list of elements. If the elements are ordered, a linear-time implementation is used.
-
containers Data.Set Convert the set to an ascending list of elements. Subject to list fusion.
-
containers Data.Set Convert the set to a descending list of elements. Subject to list fusion.
-
containers Data.Set Convert the set to a list of elements. Subject to list fusion.
fromAscList :: Eq a => [a] -> Set acontainers Data.Set.Internal Build a set from an ascending list in linear time. The precondition (input list is ascending) is not checked.
fromDescList :: Eq a => [a] -> Set acontainers Data.Set.Internal Build a set from a descending list in linear time. The precondition (input list is descending) is not checked.
fromDistinctAscList :: [a] -> Set acontainers Data.Set.Internal Build a set from an ascending list of distinct elements in linear time. The precondition (input list is strictly ascending) is not checked.
fromDistinctDescList :: [a] -> Set acontainers Data.Set.Internal Build a set from a descending list of distinct elements in linear time. The precondition (input list is strictly descending) is not checked.
fromList :: Ord a => [a] -> Set acontainers Data.Set.Internal Create a set from a list of elements. If the elements are ordered, a linear-time implementation is used.