packages feed

BPS-0.1.0.0: src/main/haskell/lib/Data/TMS/Dbg.hs

{-# LANGUAGE TemplateHaskell, KindSignatures, RankNTypes, FlexibleInstances, UndecidableInstances #-}

module Data.TMS.Dbg (
  -- |Constraint for monads which will require `MonadIO` when
  -- debugging is activated.
  Debuggable,
  -- |The quoted code will be run when debugging is activated.
  dbg
  ) where
import Language.Haskell.TH
import Data.TMS.ChooseDebugging (debugging)
import Control.Monad.IO.Class

$(debugging)