More on FreeBSD/amd64
Ian Lynagh
igloo at earth.li
Sun Apr 1 15:57:35 EDT 2007
Hi Gregory,
On Sun, Apr 01, 2007 at 03:40:11PM -0400, Gregory Wright wrote:
>
> > mallocPlainForeignPtrBytes i@(I# size) = do
> > print ('A', i)
> > IO $ \s ->
> > case newPinnedByteArray# size s of { (# s, mbarr# #) ->
> >
> >(it might be worth printing something after the existing IO action as
> >well, just to avoid confusion as to what is happening.
>
> Is there a version of "print" I can use for debugging these libraries?
> Just adding "print" causes a cycle in module dependencies.
Ah, remove the #if/#endif around the definition of "puts", its export,
and the GHC.Pack import in libraries/base/GHC/Handle.hs
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list