mps 2010.1.26 → 2010.2.25
raw patch · 3 files changed
+7/−8 lines, 3 filesdep −base64-stringdep −zlib
Dependencies removed: base64-string, zlib
Files
- changelog.md +5/−0
- mps.cabal +2/−2
- src/MPS/Heavy.hs +0/−6
changelog.md view
@@ -1,3 +1,8 @@+2010.2.25+---------++* no zip / base64 deps+ 2010.1.26 ---------
mps.cabal view
@@ -1,5 +1,5 @@ Name: mps-Version: 2010.1.26+Version: 2010.2.25 Build-type: Simple Synopsis: simply oo Description: DSL that allows one to write Haskell from left to right@@ -15,7 +15,7 @@ library ghc-options: -Wall- build-depends: base64-string, base >= 4 && < 5, zlib, containers, array, parallel, old-time, time, bytestring >= 0.9, regexpr >= 0.3.4, parsec >= 2, utf8-string >= 0.3.3, directory, old-locale, filepath, template-haskell+ build-depends: base >= 4 && < 5, containers, array, parallel, old-time, time, bytestring >= 0.9, regexpr >= 0.3.4, parsec >= 2, utf8-string >= 0.3.3, directory, old-locale, filepath, template-haskell hs-source-dirs: src/ exposed-modules: MPS
src/MPS/Heavy.hs view
@@ -1,21 +1,15 @@ module MPS.Heavy where -import Codec.Binary.Base64.String as C import Data.Char import MPS.Light import Prelude hiding ((.), (^), (>), (<), (/), elem, foldl) import qualified Prelude as P import Text.ParserCombinators.Parsec (many, char, many1, digit, (<|>), Parser, anyChar, try)-import qualified Codec.Compression.GZip as GZip import qualified Data.ByteString.Lazy.Char8 as B import qualified Text.ParserCombinators.Parsec as P -- compress--zip64, unzip64 :: String -> String-zip64 = B.pack > GZip.compress > B.unpack > C.encode-unzip64 = C.decode > B.pack > GZip.decompress > B.unpack -- Parser parse :: P.GenParser tok () a -> [tok] -> a