Modules 18
Test.QuickCheck.Text
Terminal control and text helper functions. Internal QuickCheck module.
3 generation diagnostics
- no type signature for ljust; inferred types need the type checker
- no type signature for rjust; inferred types need the type checker
- no type signature for centre; inferred types need the type checker
ranges :: (Show a, Integral a) => a -> a -> Str
number :: Int -> String -> String
short :: Int -> String -> String
showErr :: Show a => a -> String
oneLine :: String -> String
isOneLine :: String -> Bool
bold :: String -> String
ljust
rjust
centre
lpercent :: (Integral a, Integral b) => a -> b -> String
rpercent :: (Integral a, Integral b) => a -> b -> String
lpercentage :: Integral a => Double -> a -> String
rpercentage :: Integral a => Double -> a -> String
drawTable :: [String] -> [[Cell]] -> [String]
data Cell
LJust :: String -> Cell
RJust :: String -> Cell
Centred :: String -> Cell
paragraphs :: [[String]] -> [String]
newTerminal :: (String -> IO ()) -> (String -> IO ()) -> IO Terminal
withStdioTerminal :: (Terminal -> IO a) -> IO a
withHandleTerminal :: Handle -> Maybe Handle -> (Terminal -> IO a) -> IO a
withNullTerminal :: (Terminal -> IO a) -> IO a
terminalOutput :: Terminal -> IO String
handle :: Handle -> String -> IO ()
data Terminal
putTemp :: Terminal -> String -> IO ()
putPart :: Terminal -> String -> IO ()
putLine :: Terminal -> String -> IO ()
Instances
2
instance Show Strinstance Show Cell
Build record and source files
Community contribution. The service has not verified this documentation. The generator reported 30 diagnostics.
Target: Linux on x86-64. Some inferred types and resolved links are not available.
Generator: aihc-haddock-aa6debbd-web-3
Metadata snapshot: f17ab6aeb2a7b6daf9fba7614097e138beeef85fa92c3fb7fdfed9ed0e49728c
Open the dependency plan · Download the documentation model
- QuickCheck-2.18.0.0 · Cabal revision 0 · Cabal file · Source archive
- aihc-base-4.21.2.0 · Core library · Cabal file
- aihc-internal-9.1204.0 · Core library · Cabal file
- aihc-prim-0.13.0 · Core library · Cabal file
- aihc-rts-1.0.2 · Core library · Cabal file
- aihc-template-haskell-2.23.0.0 · Core library · Cabal file
- array-0.5.8.0 · Cabal revision 2 · Cabal file · Source archive
- bytestring-0.12.2.0 · Cabal revision 1 · Cabal file · Source archive
- containers-0.8.1 · Cabal revision 0 · Cabal file · Source archive
- deepseq-1.5.2.0 · Cabal revision 0 · Cabal file · Source archive
- mtl-2.3.2 · Cabal revision 1 · Cabal file · Source archive
- random-1.3.1 · Cabal revision 0 · Cabal file · Source archive
- splitmix-0.1.3.2 · Cabal revision 0 · Cabal file · Source archive
- transformers-0.6.3.0 · Cabal revision 2 · Cabal file · Source archive