MuCheck-0.3.0.4: Automated Mutation Testing

Safe HaskellNone
LanguageHaskell2010

Test.MuCheck.Utils.Print

Description

Common print utilities

Synopsis

Documentation

(./.) :: (Show a, Integral a) => a -> a -> String Source

simple wrapper for adding a % at the end.

showAS :: [String] -> String Source

join lines together

showA :: Show a => [a] -> String Source

make lists into lines in text.

tt :: Show a => a -> a Source

convenience function for debug

catchOutputStr :: IO a -> IO (a, String) Source

Capture output and err of an IO action

catchOutput :: String -> IO a -> IO a Source

Capture output and err of an IO action to a file

redirectToHandle :: IO b -> Handle -> IO b Source

Redirect out and err to handle