dep-t-advice-0.6.2.0: Giving good advice to functions in records-of-functions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Dep.IOAdvice.Basic

Description

This module contains basic examples advices.

BEWARE! These are provided for illustrative purposes only, they strive for simplicity and not robustness or efficiency.

Synopsis

Basic advices

returnMempty :: forall ca r. Monoid r => Advice ca r Source #

Makes functions discard their result and always return mempty.

printArgs :: forall r. Handle -> String -> Advice Show r Source #

Given a Handle and a prefix string, makes functions print their arguments to the Handle.