-- This file is part of Intricacy -- Copyright (C) 2013 Martin Bays -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of version 3 of the GNU General Public License as -- published by the Free Software Foundation, or any later version. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see http://www.gnu.org/licenses/. module Debug where import qualified Debug.Trace as Trace import Text.Show.Pretty (ppShow) prettyTrace :: Show a => a -> b -> b prettyTrace = Trace.trace . ppShow prettyTraceVal :: Show a => a -> a prettyTraceVal x = prettyTrace x x