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

Safe HaskellNone
LanguageHaskell2010

Biobase.Primary.Unknown

Contents

Description

A Letter with unknown annotation. We sometimes want to encode that we are dealing with Letters in an alphabet, but we do not want to commit to a certain alphabet (just yet).

This module allows us to make explicit that we do not know the specific alphabet type yet.

One should NEVER blindly coerce, since the order and limits of Letter's might well be different.

Synopsis

Documentation

data Unknown Source #

Unknown phantom type.

Instances
MkPrimary (Vector Int) Unknown (n :: k) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Enum (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Read (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

Show (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

ToJSON (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

FromJSON (Letter Unknown n) Source # 
Instance details

Defined in Biobase.Primary.Unknown

unk :: Int -> Letter Unknown n Source #

Creating an unknown letter.

instances