aboutsummaryrefslogtreecommitdiffstats
path: root/app/Debug.hs
blob: 6ad9480de53a33c7f4b736cc1ef5342b2794207a (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\n" s (show x)) x