Hi Deniz,<br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 00:11, Deniz Dogan <span dir="ltr">&lt;<a href="mailto:deniz.a.m.dogan@gmail.com">deniz.a.m.dogan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry for those who receive this who have already gotten it from haskell-cafe.<br>
<br>
---<br>
<br>
Hi<br>
<br>
I&#39;m currently working on &quot;hacking&quot; Data.Generics for my master thesis.<br>
I&#39;m basically trying to find out whether it can be made any faster<br>
using e.g. rewrite rules. </blockquote><div><br>Great! Please let us know of the results when you have them :-)<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The problem I&#39;m having is that I need an<br>
easy way to import my own modified version of Data.Generics (currently<br>
located in the same directory as my testing program) without<br>
unregistering or hiding syb-0.1.0.0 as base seems to depend on it.<br>
<br>
I&#39;ve read the GHC user manual trying to find nice ways to do this<br>
using a bunch of different parameters to ghc, but I can&#39;t figure it<br>
out. Does anyone here know?</blockquote><div><br>I&#39;ve had my own problems while developing a successor version of the syb package. For starters, cabal fails to install the package:<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">
&gt;cabal install<br>Resolving dependencies...<br>cabal: dependencies conflict: base-3.0.3.0 requires syb ==0.1.0.0 however<br>syb-0.1.0.0 was excluded because syb-0.2.0.0 was selected instead<br>syb-0.1.0.0 was excluded because of the top level dependency syb ==0.2.0.0<br>
</div><br>Note that this package explicitly requires base &gt;= 4.0. Anyway, <span style="font-family: courier new,monospace;">runghc Setup.hs install</span> does it, though. However, after having it installed I can&#39;t use it, getting this when any module imports Data.Generics:<br>
<br><div style="margin-left: 40px; font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; Bad interface file: C:\Program Files (x86)\Haskell\syb-0.2.0.0\ghc-6.10.1\Data\Generics.hi<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Something is amiss; requested module&nbsp; syb:Data.Generics differs from name found in the interface file syb-0.2.0.0:Data.Generics<br>
Failed, modules loaded: none.<br></div><br>I talked about this on IRC before and remember this might have had something to do with syb having been unversioned in the release of GHC 6.10.1. But I hope someone can clarify this better...<br>
<br><br>Cheers,<br>Pedro<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Any help appreciated,<br>
Deniz<br>
_______________________________________________<br>
Glasgow-haskell-users mailing list<br>
<a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
</blockquote></div><br>