dunai-test-0.9.2: Testing library for Dunai
Copyright(c) Ivan Perez 2017
LicenseBSD3
Maintainerivan.perez@keera.co.uk
Safe HaskellSafe-Inferred
LanguageHaskell2010

FRP.Dunai.Debug

Contents

Description

Debug FRP networks by inspecting their behaviour inside.

Synopsis

Debugging

traceMSF :: Monad m => Show a => MSF m a a Source #

Monadic Stream Function that prints the value passing through using trace.

traceMSFWith :: Monad m => (a -> String) -> MSF m a a Source #

Monadic Stream Function that prints the value passing through using trace, and a customizable show function.

traceMSFWithIO :: (a -> IO b) -> MSF IO a a Source #

Execute an IO action at every step, and ignore the result.