texrunner 0.0.2 → 0.0.3
raw patch · 5 files changed
+18/−12 lines, 5 filesdep −semigroupsdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies removed: semigroups
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +10/−1
- src/System/Texrunner.hs +0/−1
- src/System/Texrunner/Online.hs +0/−2
- src/System/Texrunner/Parse.hs +4/−3
- texrunner.cabal +4/−5
CHANGELOG.md view
@@ -1,7 +1,16 @@+## [v0.0.3] (2026-11-18)++- Allow `base-4.22` and test on GHC 9.14+- Remove support for GHC < 8.4+- Fix warnings, remove redundant imports+ ## [v0.0.2] (2023-09-11) -- Allow `base-4.19` (GHC 9.10)+- Allow `base-4.20` (GHC 9.10) - Fix tests++- r1 (2025-02-19)+ - Allow `base-4.21` and test on GHC 9.12 ## [v0.0.1.3] (2023-07-10)
src/System/Texrunner.hs view
@@ -15,7 +15,6 @@ , prettyPrintLog ) where -import Control.Applicative import qualified Data.ByteString.Char8 as C8 hiding (concatMap) import Data.ByteString.Lazy.Char8 as LC8 hiding (concatMap) import Data.Maybe
src/System/Texrunner/Online.hs view
@@ -42,7 +42,6 @@ , clearUnblocking ) where -import Control.Applicative import Control.Monad (void) import Control.Monad.Reader import qualified Data.Attoparsec.ByteString as A@@ -51,7 +50,6 @@ import qualified Data.ByteString.Lazy.Char8 as LC8 import Data.List (find) import Data.Maybe-import Data.Monoid import qualified Data.Traversable as T import System.Directory
src/System/Texrunner/Parse.hs view
@@ -36,7 +36,6 @@ import qualified Data.ByteString.Char8 as B import Data.Functor (($>)) import Data.Maybe-import Data.Semigroup ------------------------------------------------------------------------ -- Boxes@@ -131,8 +130,10 @@ -- thisIs :: Parser TexVersion parseLog :: ByteString -> TexLog-parseLog bs = (\(Right a) -> a { rawLog = bs }) . parseOnly logFile $ bs--- the parse should never fail (I think)+parseLog bs = case parseOnly logFile bs of+ Right a -> a { rawLog = bs }+ Left _ -> mempty+ -- the parse should never fail (I think) prettyPrintLog :: TexLog -> ByteString prettyPrintLog TexLog {..} =
texrunner.cabal view
@@ -1,5 +1,5 @@ name: texrunner-version: 0.0.2+version: 0.0.3 synopsis: Functions for running Tex from Haskell. description: texrunner is an interface to tex that attempts to parse errors and@@ -18,7 +18,7 @@ build-type: Simple extra-source-files: README.md, CHANGELOG.md cabal-version: >=1.10-tested-with: GHC ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1+tested-with: GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.4 || ==9.14.1 source-repository head type: git@@ -30,7 +30,7 @@ System.Texrunner.Online System.Texrunner.Parse build-depends:- base >=4.6 && <4.21,+ base >=4.6 && <4.23, bytestring >=0.10 && <1.0, filepath, directory >=1.2 && <2.0,@@ -38,8 +38,7 @@ process >=1.2 && <2.0, mtl >=2.1 && <3.0, attoparsec >=0.10 && <1.0,- io-streams >=1.1 && <2.0,- semigroups+ io-streams >=1.1 && <2.0 hs-source-dirs: src ghc-options: -Wall default-language: Haskell2010