[Haskell-cafe] Label macro expansion bug In HList.

aditya siram aditya.siram at gmail.com
Fri Nov 11 20:20:31 CET 2011


I just pulled the latest version of HList :
> darcs clone http://code.haskell.org/HList

I compiled it with GHC 7.2.1 and I am still running into the same issue the
"makeLabels" function:
> runQ (makeLabels ["test1","test2"]) >>= putStrLn . pprint
data Foo_0 deriving (Data.Typeable.Internal.Typeable)
foo_1 = Data.HList.FakePrelude.proxy :: Data.HList.FakePrelude.Proxy Foo_0
data Foo_2 deriving (Data.Typeable.Internal.Typeable)
foo_3 = Data.HList.FakePrelude.proxy :: Data.HList.FakePrelude.Proxy Foo_2

Also the cabal file that is currently at the tip of the repository includes
some of the files that have been moved into the "obsolete" directory. I
have attached an updated HList.cabal file that seems to work on my machine.

Thanks!
-deech


On Tue, Nov 8, 2011 at 8:16 PM, <oleg at okmij.org> wrote:

>
> I believe this is the case of OOHaskell gotten a bit out of sync with
> HList and GHC. Please use the latest code bases
>
>        http://code.haskell.org/HList
>        http://code.haskell.org/OOHaskell
>
> OCamlTutorial and all other OOHaskell code should work (with GHC
> 7.0.4).
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111111/8924b38d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HList.cabal
Type: application/octet-stream
Size: 1537 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111111/8924b38d/attachment.obj>


More information about the Haskell-Cafe mailing list