[Haskell-cafe] GHC Core still supported?

Jim Apple jbapple+haskell-cafe at gmail.com
Tue Oct 10 21:35:15 EDT 2006


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


More information about the Haskell-Cafe mailing list