diff options
Diffstat (limited to 'src/LambdaCube/Compiler/Pretty.hs')
-rw-r--r-- | src/LambdaCube/Compiler/Pretty.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/LambdaCube/Compiler/Pretty.hs b/src/LambdaCube/Compiler/Pretty.hs index 204e4893..0dd09107 100644 --- a/src/LambdaCube/Compiler/Pretty.hs +++ b/src/LambdaCube/Compiler/Pretty.hs | |||
@@ -24,7 +24,6 @@ import Control.Monad.Identity | |||
24 | import Control.Monad.Reader | 24 | import Control.Monad.Reader |
25 | import Control.Monad.State | 25 | import Control.Monad.State |
26 | import Control.Arrow hiding ((<+>)) | 26 | import Control.Arrow hiding ((<+>)) |
27 | import Control.DeepSeq | ||
28 | import Debug.Trace | 27 | import Debug.Trace |
29 | 28 | ||
30 | import qualified Text.PrettyPrint.ANSI.Leijen as P | 29 | import qualified Text.PrettyPrint.ANSI.Leijen as P |
@@ -96,9 +95,6 @@ instance Monoid Doc where | |||
96 | mempty = text "" | 95 | mempty = text "" |
97 | mappend = dTwo mappend | 96 | mappend = dTwo mappend |
98 | 97 | ||
99 | instance NFData Doc where | ||
100 | rnf x = rnf $ show x -- TODO | ||
101 | |||
102 | instance Show Doc where | 98 | instance Show Doc where |
103 | show = ($ "") . P.displayS . P.renderPretty 0.4 200 . renderDoc | 99 | show = ($ "") . P.displayS . P.renderPretty 0.4 200 . renderDoc |
104 | 100 | ||