BiobaseTypes-0.1.1.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Index.Type

Synopsis

Documentation

index :: forall t. KnownNat t => Int -> Index t Source

Turn an Int into an Index safely.

maybeIndex :: forall t. KnownNat t => Int -> Maybe (Index t) Source

Produce Just and Index or Nothing.