blob: 5e0b704bcade170d165346ea1bd77da9700b057d (
plain)
1
2
3
4
5
6
7
8
9
10
|
module Store.Debug
( debug,
)
where
import Debug.Trace (trace)
import Text.Printf (printf)
debug :: Show a => String -> a -> a
debug s x = trace (printf "%s: %s" s (show x)) x
|