lehins / massiv

Efficient Haskell Arrays featuring Parallel computation
BSD 3-Clause "New" or "Revised" License
384 stars 23 forks source link

`resize` should be called `reshape` #125

Open dschrempf opened 1 year ago

dschrempf commented 1 year ago

Hi,

the naming of resize related functions is, in my opinion, misleading. They do not resize arrays, but reshape them. Resizing changes the size, which is impossible using resize and related functions.

I found a (somewhat) related issue: https://github.com/lehins/massiv/issues/59.