To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 5a262457 authored by Pavel Zakopaylo's avatar Pavel Zakopaylo
Browse files

Added debugging information to printf

parent a6e3ebba
......@@ -10,10 +10,15 @@ import Prelude
import Data.Char (toUpper)
import Mu.AST
import Text.Printf (printf)
import qualified Text.Printf (printf, PrintfType)
import Control.Applicative ((<$>))
import Control.Monad (Monad(..), mapM)
import Control.Monad.Trans.Reader (runReader, Reader, ask, local)
import Debug.Trace
-- debugging printf() is basically impossible otherwise
printf :: (Text.Printf.PrintfType r) => String -> r
printf a = trace a (Text.Printf.printf a)
class PrettyPrint a where
ppFormat :: a -> Reader String String
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment