Skip to content

Commit 7fbd4a8

Browse files
committed
array: generalise unpack instance for lists
1 parent c70731c commit 7fbd4a8

File tree

1 file changed

+1
-1
lines changed
  • repa-array/Data/Repa/Array/Material/Auto

1 file changed

+1
-1
lines changed

repa-array/Data/Repa/Array/Material/Auto/Base.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ instance Target A [a] where
379379
{-# INLINE_ARRAY bufferLayout #-}
380380

381381

382-
instance Unpack (Buffer A String) (Buffer A String) where
382+
instance Unpack (Buffer A [a]) (Buffer A [a]) where
383383
unpack buf = buf
384384
repack _ buf = buf
385385
{-# INLINE unpack #-}

0 commit comments

Comments
 (0)