criterion-0.6.0.1: Robust, reliable performance measurement and analysis

Portability | GHC
Stability | experimental
Maintainer | bos@serpentine.com

Criterion.IO

Description

Input and output actions.

Synopsis

- class CritHPrintfType a
- note :: CritHPrintfType r => String -> r
- printError :: CritHPrintfType r => String -> r
- prolix :: CritHPrintfType r => String -> r
- summary :: String -> Criterion ()

# Documentation

class CritHPrintfType a

An internal class that acts like Printf/HPrintf.

The implementation is visible to the rest of the program, but the details of the class are not.

Instances

CritHPrintfType (IO a) |
CritHPrintfType (Criterion a) |
(CritHPrintfType r, PrintfArg a) => CritHPrintfType (a -> r) |

note :: CritHPrintfType r => String -> r

Print a "normal" note.

printError :: CritHPrintfType r => String -> r

Print an error message.

prolix :: CritHPrintfType r => String -> r

Print verbose output.

summary :: String -> Criterion ()

Add to summary CSV (if applicable)