Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mkSortedList :: Ord a => [a] -> SortedList adiagrams-core Diagrams.Core A smart constructor for the SortedList type, which sorts the input to ensure the SortedList invariant.
getSortedList :: SortedList a -> [a]diagrams-core Diagrams.Core.Trace Project the (guaranteed sorted) list out of a SortedList wrapper.
mkSortedList :: Ord a => [a] -> SortedList adiagrams-core Diagrams.Core.Trace A smart constructor for the SortedList type, which sorts the input to ensure the SortedList invariant.
onSortedList :: Ord b => ([a] -> [b]) -> SortedList a -> SortedList bdiagrams-core Diagrams.Core.Trace Apply a list function to a SortedList. The function need not result in a sorted list; the result will be sorted before being rewrapped as a SortedList.
unsafeOnSortedList :: ([a] -> [b]) -> SortedList a -> SortedList bdiagrams-core Diagrams.Core.Trace Apply an order-preserving list function to a SortedList. No sorts or checks are done.
-
singletons-base Data.List.NonEmpty.Singletons No documentation available.
-
singletons-base Data.List.NonEmpty.Singletons No documentation available.
-
singletons-base Data.List.NonEmpty.Singletons No documentation available.
-
singletons-base Data.List.Singletons No documentation available.
-
singletons-base Data.List.Singletons No documentation available.