Safe Haskell | None |
---|---|
Language | Haskell2010 |
Some common functions and things that are not of immediate importance to understand the algorithms.
- type IMCp = (BTI, BTI)
- alignPretty :: [[IMCp]] -> [String]
- printAligned :: IMCp -> [IMCp] -> String
- printAlignedPad :: Char -> IMCp -> [IMCp] -> String
- printLength :: BTI -> Int
- toUtf8String :: BTI -> String
- buildLines :: [[Text]] -> Builder
- printLines :: Handle -> [[Text]] -> IO ()
Documentation
alignPretty :: [[IMCp]] -> [String] Source
Actually align something prettily
printAligned :: IMCp -> [IMCp] -> String Source
Prettyprint `characters'
, which are actually small bytestrings.
printLength :: BTI -> Int Source
Length in printed characters of an UTF8 string wrapped as a ByteString
NOTE isMark
selects unicode symbols that modify a character, thereby not
increasing the length of the printed string.
toUtf8String :: BTI -> String Source
buildLines :: [[Text]] -> Builder Source
printLines :: Handle -> [[Text]] -> IO () Source