HaTeX 2.0.0 → 2.0.1
raw patch · 2 files changed
+4/−14 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- HaTeX.cabal +2/−13
- Text/LaTeX.hs +2/−1
HaTeX.cabal view
@@ -1,5 +1,5 @@ Name: HaTeX -Version: 2.0.0 +Version: 2.0.1 Author: Daniel Diaz Homepage: http://ddiaz.asofilak.es/packages/HaTeX License: BSD3 @@ -19,18 +19,7 @@ . Changes from last version: . - * IMPORTANT: @LaTeXM@ monad has been replaced by @LaTeXT@ monadic transformer. - So, change types of form @LaTeXM a@ (or @LaTeX@) to @LaTeXT m a@ (or @LaTeX m@). - This allow you to use computations of any monad through a lift function. - . - * Function @iolx@ replaced by @mlx@. - . - * IMPORTANT: IO module has been removed. - . - * Added new documentation. - . - * Added new macros. - . + * Fixed an error displaying HaTeX incorrect version. Extensions: OverloadedStrings , FlexibleInstances , TypeSynonymInstances Build-type: Simple Build-depends: base == 4.*
Text/LaTeX.hs view
@@ -57,7 +57,7 @@ -- | Your HaTeX version. hatexVersion :: Monad m => LaTeX m -hatexVersion = do textbf "1" ; ".0.2" +hatexVersion = do textbf "2" ; ".0.1" -- | Render 'LaTeX' to 'String'. render :: Monad m => LaTeX m -> m String @@ -168,6 +168,7 @@ {- $guide5 All computations in HaTeX take place in the 'LaTeXT' monadic transformer. + To includes a monadic computation, use 'mlx'. > gtime = do t <- mlx getClockTime