ghc-simple 0.2 → 0.2.1
raw patch · 3 files changed
+3/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ghc-simple.cabal +1/−1
- src/Language/Haskell/GHC/Simple.hs +1/−1
- src/Language/Haskell/GHC/Simple/Impl.hs +1/−1
ghc-simple.cabal view
@@ -1,5 +1,5 @@ name: ghc-simple-version: 0.2+version: 0.2.1 synopsis: Simplified interface to the GHC API. description: The GHC API is a great tool for working with Haskell code. Unfortunately, it's also fairly opaque and hard to get
src/Language/Haskell/GHC/Simple.hs view
@@ -198,7 +198,7 @@ -- | Read a module from cache file. readModCache :: Binary a => CompConfig -> ModMetadata -> IO (CompiledModule a) readModCache cfg meta = do- m <- decode <$> BS.readFile cachefile+ m <- decode `fmap` BS.readFile cachefile return $ CompiledModule m meta where ext = cfgCacheFileExt cfg
src/Language/Haskell/GHC/Simple/Impl.hs view
@@ -37,7 +37,7 @@ prepare = toSimplifiedStg instance Intermediate CgGuts where- prepare _ = pure+ prepare _ = return instance Intermediate CoreProgram where prepare ms cgguts = do