aboutsummaryrefslogtreecommitdiffstats
path: root/app/Debug.hs
blob: 3499e02a1742c78e0c5cc1d3d8aefe88c40359ea (plain)
1
2
3
4
5
6
7
8
9
10
module 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