BiobaseTypes-0.1.2.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Strand

Description

Strand information. A newtyped version, complete with serialization, pattern synonyms, being a PrimitiveArray index type, etc.

TODO will be expanded to encode biological sense information more clearly: http://en.wikipedia.org/wiki/Sense_%28molecular_biology%29.

Documentation

newtype Strand Source #

Constructors

Strand 

Fields

Instances

Bounded Strand Source # 
Enum Strand Source # 
Eq Strand Source # 

Methods

(==) :: Strand -> Strand -> Bool #

(/=) :: Strand -> Strand -> Bool #

Ord Strand Source # 
Read Strand Source # 
Show Strand Source # 
Generic Strand Source # 

Associated Types

type Rep Strand :: * -> * #

Methods

from :: Strand -> Rep Strand x #

to :: Rep Strand x -> Strand #

Index Strand Source # 
IndexStream Strand Source # 
Arbitrary Strand Source # 
Hashable Strand Source # 

Methods

hashWithSalt :: Int -> Strand -> Int #

hash :: Strand -> Int #

ToJSON Strand Source # 
FromJSON Strand Source # 
Binary Strand Source # 

Methods

put :: Strand -> Put #

get :: Get Strand #

putList :: [Strand] -> Put #

Serialize Strand Source # 
NFData Strand Source # 

Methods

rnf :: Strand -> () #

Unbox Strand Source # 
Vector Vector Strand Source # 
MVector MVector Strand Source # 
IndexStream z => IndexStream ((:.) z Strand) Source # 

Methods

streamUp :: Monad m => (z :. Strand) -> (z :. Strand) -> Stream m (z :. Strand) #

streamDown :: Monad m => (z :. Strand) -> (z :. Strand) -> Stream m (z :. Strand) #

type Rep Strand Source # 
type Rep Strand = D1 (MetaData "Strand" "Biobase.Types.Strand" "BiobaseTypes-0.1.2.1-1LTYzU1e5OWItpBBqXiV1g" True) (C1 (MetaCons "Strand" PrefixI True) (S1 (MetaSel (Just Symbol "getStrand") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))
data Vector Strand Source # 
data MVector s Strand Source # 

pattern P :: Strand Source #

pattern M :: Strand Source #

pattern Sense :: Strand Source #