BiobaseXNA-0.11.0.0: Efficient RNA/DNA/Protein Primary/Secondary Structure

Safe HaskellNone
LanguageHaskell2010

Biobase.Primary.Pretty

Description

Wrapper newtype to simplify pretty and short encoding of primary sequences.

Documentation

newtype Pretty f a Source #

Constructors

Pretty 

Fields

Instances
LetterChar x n => ToJSON (Pretty [] (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

Methods

toJSON :: Pretty [] (Letter x n) -> Value #

toEncoding :: Pretty [] (Letter x n) -> Encoding #

toJSONList :: [Pretty [] (Letter x n)] -> Value #

toEncodingList :: [Pretty [] (Letter x n)] -> Encoding #

LetterChar x n => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

LetterChar x n => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty

(LetterChar x n, Storable (Letter x n)) => ToJSON (Pretty Vector (Letter x n)) Source # 
Instance details

Defined in Biobase.Primary.Pretty