fgl-5.5.0.1

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Feb 16 23:47:23 UTC 2015


I've received several requests for this, but especially because of the
burning bridges proposal and the ongoing  survey about whether it
should be included in 7.10 I'm wanting to hold back on doing a
7.10-compatible release until I know what will actually be required.

On 17 February 2015 at 00:22, C Maeder <c.maeder at jacobs-university.de> wrote:
> Hi Ivan,
>
> could you make a new release of fgl that works with ghc-7.10?
>
> I could compile it locally after the following changes:
>
>   Data/Graph/Inductive/Query/Monad.hs
>
> +import Control.Applicative
> +import Control.Monad (ap, liftM)
>
> +instance Monad m => Functor (GT m g) where
> +    fmap = liftM
> +
> +instance Monad m => Applicative (GT m g) where
> +    pure = return
> +    (<*>) = ap
>
>   Data/Graph/Inductive/Monad/IOArray.hs
>
> -{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances #-}
> +{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, FlexibleContexts #-}
>
> I'm not sure why FlexibleContexts is now needed and I'm not sure how the
> package version number should change.
>
> Cheers Christian



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Libraries mailing list