Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
doctest utilities
Synopsis
- tst :: (Eq a, Flat a) => a -> (Bool, NumBits, [Word8])
- tstBits :: (Eq a, Flat a) => a -> (Bool, NumBits, String)
- asList :: (Eq a1, Eq a2, Flat a1, Flat a2) => (a2 -> a1) -> a2 -> Bool
- flatBits :: Flat a => a -> String
- allBits :: Flat a => a -> String
- encBits :: NumBits -> Encoding -> Bits
- prettyShow :: Pretty a => a -> String
- module Data.Word
Documentation
tst :: (Eq a, Flat a) => a -> (Bool, NumBits, [Word8]) Source #
Returns: result of flat/unflat test, encoding size in bits, byte encoding
tstBits :: (Eq a, Flat a) => a -> (Bool, NumBits, String) Source #
Returns: result of flat/unflat test, encoding size in bits, bits encoding
asList :: (Eq a1, Eq a2, Flat a1, Flat a2) => (a2 -> a1) -> a2 -> Bool Source #
Test that container is serialised as a List
prettyShow :: Pretty a => a -> String #
Pretty print a value with the prettyNormal
level.
module Data.Word