make fillarea pages disjoint
[intricacy.git] / Debug.hs
blob06ffa27364978278ad57d9d14bc5b2bc0571d715
1 -- This file is part of Intricacy
2 -- Copyright (C) 2013 Martin Bays <mbays@sdf.org>
3 --
4 -- This program is free software: you can redistribute it and/or modify
5 -- it under the terms of version 3 of the GNU General Public License as
6 -- published by the Free Software Foundation, or any later version.
7 --
8 -- You should have received a copy of the GNU General Public License
9 -- along with this program. If not, see http://www.gnu.org/licenses/.
11 module Debug where
13 import qualified Debug.Trace as Trace
14 import Text.Show.Pretty (ppShow)
16 prettyTrace :: Show a => a -> b -> b
17 prettyTrace = Trace.trace . ppShow
18 prettyTraceVal :: Show a => a -> a
19 prettyTraceVal x = prettyTrace x x