haskell / vector

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework .
Other
366 stars 139 forks source link

Proposal to deprecate contructors for data unboxed vectors for tuples #506

Open Shimuuar opened 1 month ago

Shimuuar commented 1 month ago

They are very dangerous and allow to violate memory safety, could be replaced with zip#/unzip#. And attempts to use them safely largely amounts to rewriting of zip#/unzip#. So I propose to deprecate them without plan for removal