packages feed

bitstream 0.2.0.2 → 0.2.0.3

raw patch · 4 files changed

+15/−10 lines, 4 filesdep ~bytestring

Dependency ranges changed: bytestring

Files

Data/Bitstream/Generic.hs view
@@ -184,7 +184,7 @@     basicPartition f α = (filter f α, filter ((¬) ∘ f) α)      basicFromNBits ∷ (Integral n, Integral β, Bits β) ⇒ n → β → α-    basicToBits    ∷ Bits β ⇒ α → β+    basicToBits    ∷ (Integral β, Bits β) ⇒ α → β   -- | /O(1)/ The empty 'Bitstream'.@@ -307,7 +307,7 @@ fromNBits = basicFromNBits  -- | /O(n)/ Convert a 'Bitstream' into a 'Bits'.-toBits ∷ (Bitstream α, Bits β) ⇒ α → β+toBits ∷ (Bitstream α, Integral β, Bits β) ⇒ α → β {-# INLINE [0] toBits #-} toBits = basicToBits 
Data/Bitstream/Internal.hs view
@@ -96,7 +96,7 @@           | otherwise               = return Done -lePacketsToBits ∷ (Monad m, Bits β) ⇒ Stream m (Packet Left) → m β+lePacketsToBits ∷ (Monad m, Integral β, Bits β) ⇒ Stream m (Packet Left) → m β {-# INLINEABLE lePacketsToBits #-} lePacketsToBits (Stream step s0 _) = go (s0, 0, 0)     where@@ -111,7 +111,7 @@                  Skip    s' → go (s', o, n)                  Done       → return n -bePacketsToBits ∷ (Monad m, Bits β) ⇒ Stream m (Packet Right) → m β+bePacketsToBits ∷ (Monad m, Integral β, Bits β) ⇒ Stream m (Packet Right) → m β {-# INLINEABLE bePacketsToBits #-} bePacketsToBits (Stream step s0 _) = go (s0, 0)     where
NEWS view
@@ -5,6 +5,11 @@ #+OPTIONS: ^:nil #+TODO: UNRELEASED(u) | RELEASED(r) +* RELEASED 0.2.0.3+CLOSED: [2013-10-02 水 21:22]+- Fix compilation on GHC 7.6 by adding (Integral α) for each (Bits+  α), reported by Luca Molari.+ * RELEASED 0.2.0.2 CLOSED: [2013-01-15 Tue 18:55] - Applied a patch by Jaap ter Woerds:
bitstream.cabal view
@@ -6,16 +6,16 @@         fusion. This is like @bytestring@ but stores bits instead of         bytes. -Version: 0.2.0.2+Version: 0.2.0.3 License: PublicDomain License-File: COPYING Author: PHO <pho at cielonegro dot org> Maintainer: PHO <pho at cielonegro dot org> Stability: experimental-Homepage: http://cielonegro.org/Bitstream.html+Homepage: https://github.com/phonohawk/bitstream Bug-Reports: https://github.com/phonohawk/bitstream/issues Category: Data-Tested-With: GHC == 7.4.1+Tested-With: GHC == 7.6.2 Cabal-Version: >= 1.10 Build-Type: Simple Extra-Source-Files:@@ -31,7 +31,7 @@     Build-Depends:         base                 == 4.*,         base-unicode-symbols == 0.2.*,-        bytestring           == 0.9.*,+        bytestring           >= 0.9 && < 0.11,         vector               == 0.10.*      Exposed-Modules:@@ -60,7 +60,7 @@         QuickCheck           == 2.5.*,         base                 == 4.*,         base-unicode-symbols == 0.2.*,-        bytestring           == 0.9.*,+        bytestring           >= 0.9 && < 0.11,         vector               == 0.10.*     Default-Language: Haskell2010     GHC-Options:@@ -75,7 +75,7 @@         QuickCheck           == 2.5.*,         base                 == 4.*,         base-unicode-symbols == 0.2.*,-        bytestring           == 0.9.*,+        bytestring           >= 0.9 && < 0.11,         vector               == 0.10.*     Default-Language: Haskell2010     GHC-Options: