Permalink
Browse files

* Removed trace statement

* Version bump
* Fixed a typo
  • Loading branch information...
1 parent 4b12f22 commit 8756f13d327fc6c33ec9d097b5dc7424069e5ebc @spockz spockz committed Oct 14, 2011
Showing with 6 additions and 6 deletions.
  1. +2 −0 README.asciidoc
  2. +1 −1 lhs2TeX-hl.cabal
  3. +1 −1 src/Base/CLI.hs
  4. +1 −1 src/Base/Common.hs
  5. +1 −3 src/Literate/Haskell.hs
View
@@ -158,6 +158,8 @@ KNOWN ISSUES
CHANGES
-------
+0.1.4.2::
+ * Removed trace statement
0.1.4.1::
* Fixed ambiguous import error on GHC 7.2
* You can now ask for a list of commands to import.
View
@@ -1,5 +1,5 @@
Name: lhs2TeX-hl
-Version: 0.1.4.1
+Version: 0.1.4.2
Cabal-Version: >= 1.6
License: MIT
Author: Alessandro Vermeulen <me@alessandrovermeulen.me>
View
@@ -38,7 +38,7 @@ newCommands = unlines [
"\\newcommand{\\lhsCHtype}[1]{\\color{datatype}{{#1}}}",
"\\newcommand{\\lhsCHsyntax}[1]{\\color{syntax}{{#1}}}",
"\\newcommand{\\lhsCHclass}[1]{\\color{class}{{#1}}}",
- "\\newcommand{\\lhsCHconstant}[1]{\\color{prelude}{{#1}}}"
+ "\\newcommand{\\lhsCHconstant}[1]{\\color{constant}{{#1}}}"
]
-- | Standard command line options.
View
@@ -1,4 +1,4 @@
module Base.Common where
-programVersion = "0.1.4.1"
+programVersion = "0.1.4.2"
programName = "lhs2TeX-hl"
View
@@ -11,8 +11,6 @@ import Language.Haskell.Exts hiding (parseFile)
import Language.LaTeX
import Literate.SimpleInfo
-
-import Debug.Trace (trace)
newtype M = M Module deriving (Typeable, Data)
@@ -144,7 +142,7 @@ mapping = [
mtypes :: SimpleInfo -> [(String, String)]
mtypes SimpleInfo{types} = map dp types
-moperators SimpleInfo{operators} = trace "Operators:\n" $ trace (show operators) $ map (\ a -> (a, "\\ \\mathbin{"++ makeLatexSafe a++"}\\ "))
+moperators SimpleInfo{operators} = map (\ a -> (a, "\\ \\mathbin{"++ makeLatexSafe a++"}\\ "))
operators
mconstructors SimpleInfo{constructors} = map (dp) constructors
mfunctions SimpleInfo{functions } = map (dp) functions

0 comments on commit 8756f13

Please sign in to comment.