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. _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs