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 _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users