bioinformatics-toolkit-0.9.3.1: A collection of bioinformatics tools

Safe HaskellSafe
LanguageHaskell2010

Bio.Utils.Types

Synopsis

Documentation

data Sorted f a Source #

Instances
Show (f a) => Show (Sorted f a) Source # 
Instance details

Defined in Bio.Utils.Types

Methods

showsPrec :: Int -> Sorted f a -> ShowS #

show :: Sorted f a -> String #

showList :: [Sorted f a] -> ShowS #

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 #