haste-compiler 0.4.4.1 → 0.4.4.2
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- haste-compiler.cabal +1/−1
- src/Data/JSTarget/PP.hs +5/−1
- src/Haste/Version.hs +1/−1
haste-compiler.cabal view
@@ -1,5 +1,5 @@ Name: haste-compiler-Version: 0.4.4.1+Version: 0.4.4.2 License: BSD3 License-File: LICENSE Synopsis: Haskell To ECMAScript compiler
src/Data/JSTarget/PP.hs view
@@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} {-# LANGUAGE OverloadedStrings, FlexibleInstances,- GeneralizedNewtypeDeriving #-}+ GeneralizedNewtypeDeriving, CPP #-} -- | JSTarget pretty printing machinery. The actual printing happens in -- Data.JSTarget.Print. module Data.JSTarget.PP where@@ -194,8 +194,12 @@ ppList _ _ = return () +#if MIN_VERSION_bytestring(0,10,4)+-- bytestring contains this instance from 0.10.4.0 onwards+#else instance IsString Builder where fromString = B.fromString+#endif instance IsString (PP ()) where fromString = put . B.fromString
src/Haste/Version.hs view
@@ -14,7 +14,7 @@ -- | Current Haste version. hasteVersion :: Version-hasteVersion = Version [0, 4, 4, 1] []+hasteVersion = Version [0, 4, 4, 2] [] -- | Current Haste version as an Int. The format of this version number is -- MAJOR*10 000 + MINOR*100 + MICRO.