Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data Box :: *
- nullBox :: Box
- width :: Int
- indentWidth :: Int
- para :: String -> Box
- indented :: Box -> Box
- successivelyIndented :: [String] -> Box
- vcat :: [Box] -> Box
- spacer :: Box
- bulletedList :: (a -> String) -> [a] -> [Box]
- bulletedListT :: (a -> Text) -> [a] -> [Box]
- printToStderr :: Box -> IO ()
- printToStdout :: Box -> IO ()
Documentation
The basic data type. A box has a specified size and some sort of contents.
indentWidth :: Int Source #
successivelyIndented :: [String] -> Box Source #
bulletedList :: (a -> String) -> [a] -> [Box] Source #
bulletedListT :: (a -> Text) -> [a] -> [Box] Source #
printToStderr :: Box -> IO () Source #
printToStdout :: Box -> IO () Source #