<div dir="ltr"><div>Thank you, that was the trick! It would be handy it there was a way through the online hackage packages pages to click through the dependencies. I guess you checked the .cabal by hand or used some slightly more arcane cabal commands to get that information.<br>
<br></div>Thank you again and nice rest of week-end!<br><br>Emmanuel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 17, 2013 at 2:51 PM, Andres Löh <span dir="ltr">&lt;<a href="mailto:andres@well-typed.com" target="_blank">andres@well-typed.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again.<br>
<div class="im"><br>
&gt;  thank you for the tip! It helps but it&#39;s not quite there yet. If you see<br>
&gt; the program in attachment, I can make it compile only by commenting the type<br>
&gt; declaration for the second function, otherwise it&#39;s the exact same error<br>
&gt; message as before.<br>
<br>
</div>You&#39;re probably using the wrong HashMap. There are several packages on<br>
Hackage implementing similarly-named data structures (which is<br>
confusing, I know, but such is life in a decentralized and open<br>
world). You should use what aeson is using (because that&#39;s the library<br>
defining the Object type synonym).<br>
<br>
Looking at the import list of<br>
<br>
<a href="http://hackage.haskell.org/packages/archive/aeson/0.6.0.2/doc/html/src/Data-Aeson-Types-Internal.html" target="_blank">http://hackage.haskell.org/packages/archive/aeson/0.6.0.2/doc/html/src/Data-Aeson-Types-Internal.html</a><br>

<br>
we see<br>
<br>
import Data.HashMap.Strict (HashMap)<br>
<br>
and by checking the package dependencies of aeson, we figure out that<br>
this module is provided by the unordered-containers package.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
  Andres<br>
<br>
--<br>
Andres Löh, Haskell Consultant<br>
Well-Typed LLP, <a href="http://www.well-typed.com" target="_blank">http://www.well-typed.com</a><br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br></div>