Mixed boxed/unboxed arrays?

J. Reinders jaro.reinders at gmail.com
Wed Aug 3 20:35:43 UTC 2022


I found the mistake:

   compactAdd c k
   p <- anyToPtr k

Should be:

   p <- anyToPtr . getCompact =<< compactAdd c k

Otherwise I guess I’m not using the pointer that’s on the compact region.


More information about the ghc-devs mailing list