HaTeX 3.2 → 3.2.0.1
raw patch · 4 files changed
+8/−4 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- HaTeX.cabal +1/−1
- ReleaseNotes +4/−0
- Text/LaTeX/Base/Commands.hs +1/−1
- Text/LaTeX/Base/Syntax.hs +2/−2
HaTeX.cabal view
@@ -1,5 +1,5 @@ Name: HaTeX -Version: 3.2 +Version: 3.2.0.1 Author: Daniel Díaz Category: Text Build-type: Simple
ReleaseNotes view
@@ -1,6 +1,10 @@ HaTeX Release Notes -- From version 3.0.0 +>>> 3.2.0.1 + +- This version only fix the patch that makes HaTeX compatible with GHC 7.4. + >>> 3.2 Highlights:
Text/LaTeX/Base/Commands.hs view
@@ -798,7 +798,7 @@ hatex_version :: LaTeX hatex_version = hatex3 <> hspace (Ex $ negate 0.3) - <> emph ".2" + <> emph ".2.0.1" label :: Label -> LaTeX label l = TeXComm "label" [FixArg $ TeXRaw $ render l]
Text/LaTeX/Base/Syntax.hs view
@@ -59,13 +59,13 @@ -- Since GHC starting from 7.4 provides (<>) as synonym to 'mappend', -- we avoid an overlapping definition with a CPP conditional. -#if GHC_VERSION < 704 +#if __GLASGOW_HASKELL__ < 704 -- | Alias for 'mappend'. (<>) :: Monoid a => a -> a -> a (<>) = mappend #endif --- | 'fromString' escapes LaTeX reserved characters. +-- | Method 'fromString' escapes LaTeX reserved characters. instance IsString LaTeX where fromString = TeXRaw . fromString . protectString