-- | The byte size of a memory area that is converted from a list.
arrayByteSize :: (Storable a)
    => [a] -- ^ a list
    -> Int
arrayByteSize ls = (sizeOf (head ls)) * (length ls)
arrayByteSize :: (Storable a)
    => [a] -- ^ a list
    -> Int
arrayByteSize ls = (sizeOf (head ls)) * (length ls)
arrayByteSize ls = (sizeOf (head ls)) * (length ls)