on master help sign in
Change the Unboxed type class alias
56569bcAdithya Kumar
core/src/Streamly/Internal/Data/Unboxed.hs+1−1
@@ -188,7 +188,7 @@ class Storable a => Unbox a where
188 -- index.
188 -- index.
189 unbox :: MutableByteArray a -> Int -> a -> IO ()
189 unbox :: MutableByteArray a -> Int -> a -> IO ()
190
190
191−type Unboxed a = (Unbox a, Storable a)
191+type Unboxed a = Unbox a
192
192
193#define DERIVE_UNBOXED(_type, _constructor, _readArray, _writeArray) \
193#define DERIVE_UNBOXED(_type, _constructor, _readArray, _writeArray) \
194instance Unbox _type where { \
194instance Unbox _type where { \