Safe Haskell | None |
---|---|
Language | Haskell2010 |
A Letter
with unknown annotation. We sometimes want to encode that we
are dealing with Letter
s 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.
Documentation
Unknown
phantom type.
Instances
MkPrimary (Vector Int) Unknown (n :: k) Source # | |
Enum (Letter Unknown n) Source # | |
Defined in Biobase.Primary.Unknown succ :: Letter Unknown n -> Letter Unknown n # pred :: Letter Unknown n -> Letter Unknown n # toEnum :: Int -> Letter Unknown n # fromEnum :: Letter Unknown n -> Int # enumFrom :: Letter Unknown n -> [Letter Unknown n] # enumFromThen :: Letter Unknown n -> Letter Unknown n -> [Letter Unknown n] # enumFromTo :: Letter Unknown n -> Letter Unknown n -> [Letter Unknown n] # enumFromThenTo :: Letter Unknown n -> Letter Unknown n -> Letter Unknown n -> [Letter Unknown n] # | |
Read (Letter Unknown n) Source # | |
Show (Letter Unknown n) Source # | |
ToJSON (Letter Unknown n) Source # | |
FromJSON (Letter Unknown n) Source # | |