BiobaseTypes-0.2.0.1: Collection of types for bioinformatics
Biobase.Types.Codon
data Codon c Source #
A single codon.
TODO needs to go into its own place
Constructors
Defined in Biobase.Types.Codon
Methods
fmap :: (a -> b) -> Codon a -> Codon b #
(<$) :: a -> Codon b -> Codon a #
fold :: Monoid m => Codon m -> m #
foldMap :: Monoid m => (a -> m) -> Codon a -> m #
foldr :: (a -> b -> b) -> b -> Codon a -> b #
foldr' :: (a -> b -> b) -> b -> Codon a -> b #
foldl :: (b -> a -> b) -> b -> Codon a -> b #
foldl' :: (b -> a -> b) -> b -> Codon a -> b #
foldr1 :: (a -> a -> a) -> Codon a -> a #
foldl1 :: (a -> a -> a) -> Codon a -> a #
toList :: Codon a -> [a] #
null :: Codon a -> Bool #
length :: Codon a -> Int #
elem :: Eq a => a -> Codon a -> Bool #
maximum :: Ord a => Codon a -> a #
minimum :: Ord a => Codon a -> a #
sum :: Num a => Codon a -> a #
product :: Num a => Codon a -> a #
traverse :: Applicative f => (a -> f b) -> Codon a -> f (Codon b) #
sequenceA :: Applicative f => Codon (f a) -> f (Codon a) #
mapM :: Monad m => (a -> m b) -> Codon a -> m (Codon b) #
sequence :: Monad m => Codon (m a) -> m (Codon a) #
(==) :: Codon c -> Codon c -> Bool #
(/=) :: Codon c -> Codon c -> Bool #
compare :: Codon c -> Codon c -> Ordering #
(<) :: Codon c -> Codon c -> Bool #
(<=) :: Codon c -> Codon c -> Bool #
(>) :: Codon c -> Codon c -> Bool #
(>=) :: Codon c -> Codon c -> Bool #
max :: Codon c -> Codon c -> Codon c #
min :: Codon c -> Codon c -> Codon c #
readsPrec :: Int -> ReadS (Codon c) #
readList :: ReadS [Codon c] #
readPrec :: ReadPrec (Codon c) #
readListPrec :: ReadPrec [Codon c] #
showsPrec :: Int -> Codon c -> ShowS #
show :: Codon c -> String #
showList :: [Codon c] -> ShowS #
Associated Types
type Rep (Codon c) :: Type -> Type #
from :: Codon c -> Rep (Codon c) x #
to :: Rep (Codon c) x -> Codon c #
each :: Traversal (Codon c) (Codon c') c c' #
_1 :: Lens (Codon c) (Codon c) c c #
_2 :: Lens (Codon c) (Codon c) c c #
_3 :: Lens (Codon c) (Codon c) c c #