I also have the same issue with OOHaskell after pulling from <a href="http://code.haskell.org/OOHaskell">http://code.haskell.org/OOHaskell</a>. After loading GHCI I did:<br>&gt; :l ../samples/OCamlTutorial.hs<br>../samples/OCamlTutorial.hs:97:3:<br>
    Multiple declarations of `foo&#39;<br>    Declared at: ../samples/OCamlTutorial.hs:53:1<br>                 ../samples/OCamlTutorial.hs:97:3<br>Failed, modules loaded: OOHaskell, Dynamic, Print, DeepNarrow, Nominal, New.<br>
<br><br>Also in the beginning I was unable to load lib/OOHaskell.hs into GHCI because it tried to import a module that was no-longer exported by HList &quot;Data.HList.TypeEq0&quot;. When I commented out that line, it loaded fine into GHCI.<br>
<br>-deech<br><br><div class="gmail_quote">On Fri, Nov 11, 2011 at 1:20 PM, aditya siram <span dir="ltr">&lt;<a href="mailto:aditya.siram@gmail.com">aditya.siram@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I just pulled the latest version of HList :<br>&gt; darcs clone <a href="http://code.haskell.org/HList" target="_blank">http://code.haskell.org/HList</a><br><br>I compiled it with GHC 7.2.1 and I am still running into the same issue the &quot;makeLabels&quot; function:<br>

&gt; runQ (makeLabels [&quot;test1&quot;,&quot;test2&quot;]) &gt;&gt;= putStrLn . pprint<div class="im"><br>data Foo_0 deriving (Data.Typeable.Internal.Typeable)<br>foo_1 = Data.HList.FakePrelude.proxy :: Data.HList.FakePrelude.Proxy Foo_0<br>
</div>
data Foo_2 deriving (Data.Typeable.Internal.Typeable)<br>foo_3 = Data.HList.FakePrelude.proxy :: Data.HList.FakePrelude.Proxy Foo_2<br><br>Also the cabal file that is currently at the tip of the repository includes some of the files that have been moved into the &quot;obsolete&quot; directory. I have attached an updated HList.cabal file that seems to work on my machine.<br>

<br>Thanks!<br>-deech<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 8:16 PM,  <span dir="ltr">&lt;<a href="mailto:oleg@okmij.org" target="_blank">oleg@okmij.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I believe this is the case of OOHaskell gotten a bit out of sync with<br>
HList and GHC. Please use the latest code bases<br>
<br>
        <a href="http://code.haskell.org/HList" target="_blank">http://code.haskell.org/HList</a><br>
        <a href="http://code.haskell.org/OOHaskell" target="_blank">http://code.haskell.org/OOHaskell</a><br>
<br>
OCamlTutorial and all other OOHaskell code should work (with GHC<br>
7.0.4).<br>
<br>
<br>
</blockquote></div><br>
</div></div></blockquote></div><br>