bioinformatics-toolkit-0.7.0: A collection of bioinformatics tools
Bio.Utils.Types
data Sorted f a Source #
Defined in Bio.Utils.Types
Methods
showsPrec :: Int -> Sorted f a -> ShowS #
show :: Sorted f a -> String #
showList :: [Sorted f a] -> ShowS #
ordering :: Sorted f a -> Ordering Source #
fromSorted :: Sorted f a -> f a Source #
toSorted :: (Foldable f, Ord a) => f a -> Sorted f a Source #
if the data has been sorted, wrap it into Sorted type
unsafeToSorted :: (Foldable f, Ord a) => Ordering -> f a -> Sorted f a Source #