packages feed

tilia-0.2.0.0: corpora/vendored/line-break/column-limit/conditional-carrying-on-a-line.hs

-- The alternatives of a conditional that carry on the line before the
-- conditional are laid out a step right of that line, and only then broken
-- where they run past column 80.
{-# LANGUAGE CPP #-}

module Report.Flush (flush) where

flush :: Bool -> IO ()
flush verbose = when verbose $
#if defined(TRACE)
  do traceIO "flushing the standard output and the standard error streams first"
#endif
     hFlush stdout