bioinformatics-toolkit-0.4.1: A collection of bioinformatics tools
Bio.Utils.Types
Synopsis
data Sorted f a Source #
Instances
Methods
showsPrec :: Int -> Sorted f a -> ShowS #
show :: Sorted f a -> String #
showList :: [Sorted f a] -> ShowS #
ordering :: ((Foldable f, Ord a) => {..} -> Sorted f a) -> Ordering Source #
fromSorted :: ((Foldable f, Ord a) => {..} -> 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 #