Criterion.IO.Printf

criterion-1.6.4.0: Robust, reliable performance measurement and analysis

Copyright | (c) 2009-2014 Bryan O'Sullivan
License | BSD-style
Maintainer | bos@serpentine.com
Stability | experimental
Portability | GHC
Safe Haskell | Trustworthy
Language | Haskell2010

Criterion.IO.Printf

Description

Input and output actions.

Synopsis

- class CritHPrintfType a
- note :: CritHPrintfType r => String -> r
- printError :: CritHPrintfType r => String -> r
- prolix :: CritHPrintfType r => String -> r
- writeCsv :: ToRecord a => a -> 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.

Minimal complete definition

chPrintfImpl

#### Instances

Instances details

CritHPrintfType (Criterion a) # |
Instance details Defined in Criterion.IO.Printf Methods chPrintfImpl :: (Config -> Bool) -> PrintfCont -> Criterion a
CritHPrintfType (IO a) # |
Instance details Defined in Criterion.IO.Printf Methods chPrintfImpl :: (Config -> Bool) -> PrintfCont -> IO a
(CritHPrintfType r, PrintfArg a) => CritHPrintfType (a -> r) # |
Instance details Defined in Criterion.IO.Printf Methods chPrintfImpl :: (Config -> Bool) -> PrintfCont -> 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.

writeCsv :: ToRecord a => a -> Criterion () #

Write a record to a CSV file.