BiobaseTypes-0.2.0.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Codon

Synopsis

Documentation

data Codon c Source #

A single codon.

TODO needs to go into its own place

Constructors

Codon !c !c !c 
Instances
Functor Codon Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

fmap :: (a -> b) -> Codon a -> Codon b #

(<$) :: a -> Codon b -> Codon a #

Foldable Codon Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

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 #

Traversable Codon Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

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) #

Eq c => Eq (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

(==) :: Codon c -> Codon c -> Bool #

(/=) :: Codon c -> Codon c -> Bool #

Ord c => Ord (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

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 #

Read c => Read (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon

Show c => Show (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

showsPrec :: Int -> Codon c -> ShowS #

show :: Codon c -> String #

showList :: [Codon c] -> ShowS #

Generic (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon

Associated Types

type Rep (Codon c) :: Type -> Type #

Methods

from :: Codon c -> Rep (Codon c) x #

to :: Rep (Codon c) x -> Codon c #

Each (Codon c) (Codon c') c c' Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

each :: Traversal (Codon c) (Codon c') c c' #

Field1 (Codon c) (Codon c) c c Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

_1 :: Lens (Codon c) (Codon c) c c #

Field2 (Codon c) (Codon c) c c Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

_2 :: Lens (Codon c) (Codon c) c c #

Field3 (Codon c) (Codon c) c c Source # 
Instance details

Defined in Biobase.Types.Codon

Methods

_3 :: Lens (Codon c) (Codon c) c c #

type Rep (Codon c) Source # 
Instance details

Defined in Biobase.Types.Codon