Safe Haskell | None |
---|---|
Language | Haskell2010 |
Quantum.Random.Display
Description
Functionality for display of binary data. Seeing a visual representation of quantum random data lets a user visually verify that it is indeed random.
Usually to be imported via the Quantum.Random module.
- data DisplayStyle
- parseStyle :: String -> Maybe DisplayStyle
- display :: DisplayStyle -> [Word8] -> IO ()
Documentation
data DisplayStyle Source #
Represents the supported methods for displaying binary data.
All styles show data separated by byte except for Hex
.
Instances
parseStyle :: String -> Maybe DisplayStyle Source #
Parse a string to one of the supported display styles.