Dear Simon, Thanks for the info, and I'll take a further look. I may submit a bug report at some point.
For one, enabling 31-bit Int core in config.mk in 7.0.3 source tree.would lead to compilation failure. Regards, Paul Liu On Wed, Jun 8, 2011 at 12:15 AM, Simon Peyton-Jones <[email protected]> wrote: > It's the "sym" coercion from our FC paper > http://research.microsoft.com/en-us/um/people/simonpj/papers/ext-f/ > > External Core needs love. I'm not sure anyone has paid much attention to it > since we switched to using FC. I'd be happy to advise. > > Simon > > | -----Original Message----- > | From: [email protected] [mailto:[email protected]] On > Behalf Of > | Paul L > | Sent: 08 June 2011 02:10 > | To: [email protected] > | Subject: where is GHC.Prim.sym defined? > | > | I'm trying to parse Core file generated by -fext-core, here is a snippet I > got: > | > | %cast (base:GHCziSTRef.STRef @ ghczmprim:GHCziPrim.RealWorld > | @ ((base:GHCziIOziBuffer.Buffer > | base:GHCziWord.Word8)) rbd1ep) > | ((ghczmprim:GHCziPrim.sym > | base:GHCziIORef.NTCoZCIORef > | ((base:GHCziIOziBuffer.Buffer base:GHCziWord.Word8)))) > | > | But I can't seem to find GHC.Prim.sym defined anywhere in the ghc-prim > | package, any hints? > | > | -- > | Regards, > | Paul Liu > | > | _______________________________________________ > | Cvs-ghc mailing list > | [email protected] > | http://www.haskell.org/mailman/listinfo/cvs-ghc > > -- Regards, Paul Liu _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
