<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 16, 2015 at 2:22 PM, C Maeder <span dir="ltr"><<a href="mailto:c.maeder@jacobs-university.de" target="_blank">c.maeder@jacobs-university.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Ivan,<br>
<br>
could you make a new release of fgl that works with ghc-7.10?<br>
<br>
I could compile it locally after the following changes:<br>
<br>
  Data/Graph/Inductive/Query/<u></u>Monad.hs<br>
<br>
+import Control.Applicative<br>
+import Control.Monad (ap, liftM)<br>
<br>
+instance Monad m => Functor (GT m g) where<br>
+    fmap = liftM<br>
+<br>
+instance Monad m => Applicative (GT m g) where<br>
+    pure = return<br>
+    (<*>) = ap<br>
<br>
  Data/Graph/Inductive/Monad/<u></u>IOArray.hs<br>
<br>
-{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-}<br>
+{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, FlexibleContexts #-}<br>
<br>
I'm not sure why FlexibleContexts is now needed and I'm not sure how the package version number should change.<br></blockquote><div><br></div><div>Assuming the package defines GT this is a minor (third component) bump according to the newish PVP rules. Major if it's an orphan instance.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Cheers Christian<br>
______________________________<u></u>_________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-<u></u>bin/mailman/listinfo/libraries</a><br>
</blockquote></div><br></div></div>