UVMHS.Core.Chunky
trℕ8 :: ℕ64 -> ℕ8 Source #
toBitsℤ64 :: ℤ64 -> ℕ64 Source #
frBitsℤ64 :: ℕ64 -> ℤ64 Source #
toBits𝔻 :: 𝔻 -> ℕ64 Source #
frBits𝔻 :: ℕ64 -> 𝔻 Source #
skipChunk :: Monad m => m ℕ8 -> ℕ64 -> m () Source #
emptyChunk :: ℕ64 -> 𝐼 ℕ8 Source #
joinBytes :: (ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8) -> ℕ64 Source #
splitBytes :: ℕ64 -> (ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8, ℕ8) Source #
class Chunky a where Source #
Methods
chunkSize :: P a -> ℕ64 Source #
fromChunk :: forall m. Monad m => m ℕ8 -> m a Source #
toChunk :: a -> 𝐼 ℕ8 Source #
Defined in UVMHS.Core.Chunky
chunkSize :: P ℂ -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m ℂ Source #
toChunk :: ℂ -> 𝐼 ℕ8 Source #
chunkSize :: P ℕ64 -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m ℕ64 Source #
toChunk :: ℕ64 -> 𝐼 ℕ8 Source #
chunkSize :: P ℕ8 -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m ℕ8 Source #
toChunk :: ℕ8 -> 𝐼 ℕ8 Source #
chunkSize :: P ℤ64 -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m ℤ64 Source #
toChunk :: ℤ64 -> 𝐼 ℕ8 Source #
chunkSize :: P 𝔹 -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m 𝔹 Source #
toChunk :: 𝔹 -> 𝐼 ℕ8 Source #
chunkSize :: P 𝔻 -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m 𝔻 Source #
toChunk :: 𝔻 -> 𝐼 ℕ8 Source #
chunkSize :: P () -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m () Source #
toChunk :: () -> 𝐼 ℕ8 Source #
fromChunk :: Monad m => m ℕ8 -> m a Source #
chunkSize :: P (a ∧ b) -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m (a ∧ b) Source #
toChunk :: (a ∧ b) -> 𝐼 ℕ8 Source #
chunkSize :: P (a ∨ b) -> ℕ64 Source #
fromChunk :: Monad m => m ℕ8 -> m (a ∨ b) Source #
toChunk :: (a ∨ b) -> 𝐼 ℕ8 Source #