sourcemap 0.1.5 → 0.1.6
raw patch · 2 files changed
+2/−2 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- sourcemap.cabal +1/−1
- src/SourceMap.hs +1/−1
sourcemap.cabal view
@@ -1,5 +1,5 @@ name: sourcemap-version: 0.1.5+version: 0.1.6 synopsis: Implementation of source maps as proposed by Google and Mozilla. description: Implementation of source maps, revision 3, proposed by Google and Mozilla here <https://wiki.mozilla.org/DevTools/Features/SourceMap> and here
src/SourceMap.hs view
@@ -90,7 +90,7 @@ result += VLQ.encode (indexOf name names - previousName) return (indexOf name names) -- Return the byte buffer.- toLazyByteString <$> readSTRef result+ fmap toLazyByteString $ readSTRef result updating r f = readSTRef r >>= \x -> f x >>= writeSTRef r r += y = modifySTRef r (<> lazyByteString y)