Copyright | (c) Matthew Mosior 2022 |
---|---|
License | BSD-style |
Maintainer | mattm.github@gmail.com |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Run-length encoding (RLE)
Synopsis
- bytestringToBWTToRLEB :: ByteString -> RLEB
- bytestringToBWTToRLET :: ByteString -> RLET
- textToBWTToRLEB :: Text -> RLEB
- textToBWTToRLET :: Text -> RLET
- textBWTToRLEB :: TextBWT -> RLEB
- bytestringBWTToRLEB :: BWT Word8 -> RLEB
- textBWTToRLET :: TextBWT -> RLET
- bytestringBWTToRLET :: BWT Word8 -> RLET
- textToRLEB :: Vector (Maybe Text) -> RLEB
- bytestringToRLEB :: Vector (Maybe ByteString) -> RLEB
- textToRLET :: Vector (Maybe Text) -> RLET
- bytestringToRLET :: Vector (Maybe ByteString) -> RLET
- bytestringFromBWTFromRLEB :: RLEB -> ByteString
- bytestringFromBWTFromRLET :: RLET -> ByteString
- textFromBWTFromRLEB :: RLEB -> Text
- textFromBWTFromRLET :: RLET -> Text
- textBWTFromRLET :: RLET -> BWT Text
- bytestringBWTFromRLET :: RLET -> BWT ByteString
- textBWTFromRLEB :: RLEB -> BWT Text
- bytestringBWTFromRLEB :: RLEB -> BWT ByteString
- textFromRLEB :: RLEB -> Vector (Maybe Text)
- bytestringFromRLEB :: RLEB -> Vector (Maybe ByteString)
- textFromRLET :: RLET -> Vector (Maybe Text)
- bytestringFromRLET :: RLET -> Vector (Maybe ByteString)
Documentation
bytestringToBWTToRLEB :: ByteString -> RLEB Source #
Helper function for converting a ByteString
to a RLEB
via a BWT
first.
bytestringToBWTToRLET :: ByteString -> RLET Source #
Helper function for converting a ByteString
to a RLET
via a BWT
first.
textToBWTToRLEB :: Text -> RLEB Source #
textToBWTToRLET :: Text -> RLET Source #
textBWTToRLEB :: TextBWT -> RLEB Source #
textBWTToRLET :: TextBWT -> RLET Source #
bytestringToRLEB :: Vector (Maybe ByteString) -> RLEB Source #
Takes a Vector
of ByteString
s and returns the Run-length encoding (RLEB
).
textToRLET :: Vector (Maybe Text) -> RLET Source #
Takes a Text
and returns the Run-length encoding (RLE).
bytestringToRLET :: Vector (Maybe ByteString) -> RLET Source #
Takes a ByteString
and returns the Run-length encoding (RLE).
bytestringFromBWTFromRLEB :: RLEB -> ByteString Source #
Helper function for converting a BWT
ed RLEB
back to the original ByteString
.
bytestringFromBWTFromRLET :: RLET -> ByteString Source #
Helper function for converting a BWT
ed RLET
back to the original ByteString
.
textFromBWTFromRLEB :: RLEB -> Text Source #
textFromBWTFromRLET :: RLET -> Text Source #
bytestringBWTFromRLET :: RLET -> BWT ByteString Source #
Takes a RLET
and returns
the BWT
of ByteString
s.
bytestringBWTFromRLEB :: RLEB -> BWT ByteString Source #
Take a RLEB
and returns
the BWT
of ByteString
s.
bytestringFromRLEB :: RLEB -> Vector (Maybe ByteString) Source #
Takes a RLEB
and returns
the original Vector
of ByteString
s.
bytestringFromRLET :: RLET -> Vector (Maybe ByteString) Source #
Takes a RLET
and returns
the original Vector
of ByteString
s.