Mixed boxed/unboxed arrays?
Viktor Dukhovni
ietf-dane at dukhovni.org
Wed Aug 3 20:51:30 UTC 2022
On Wed, Aug 03, 2022 at 10:35:43PM +0200, J. Reinders wrote:
> 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.
Correct, I started my reply to your previous message before seeing that
you also found the same error.
--
Viktor.
More information about the ghc-devs
mailing list