linear-base icon indicating copy to clipboard operation
linear-base copied to clipboard

Reduce unsafe casts on Data.List.Linear module

Open utdemir opened this issue 5 years ago • 0 comments

#189, which added Data.List.Linear module did so with liberal use of Unsafe.toLinear. This is error-prone, so we should reduce unsafe casts there, and only use it when re-implementing it safely is costly.

utdemir avatar Sep 25 '20 00:09 utdemir