In http://www.haskell.org/ghc/dist/current/docs/users_guide/ext-core.html
, I see two notes that I can't verify:

1. I don't see any CORE pragma on
http://www.haskell.org/ghc/dist/current/docs/users_guide/pragmas.html

2.  Using GHC 6.5.20060920, I compile

module Core where
data Foo = Bar

with -fext-core to get

%module main:Core
 %data main:Core.Foo =
   {Bar};

I then compile the resulting hcr file with no flags to get

<no location info>:
   1: Parse error
:
 %data main:Core.Foo =
   {Bar};

Jim
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to