Breakage with ghc-6.10

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Oct 10 14:42:19 EDT 2008


On Fri, 2008-10-10 at 13:29 -0500, John Goerzen wrote:
> Duncan Coutts wrote:
> > Ok, lets look at hslogger:
> > 
> > src/System/Log/Logger.hs:333:20:
> >     Couldn't match expected type `Maybe Logger'
> >            against inferred type `IO Logger'
> >     In a stmt of a 'do' expression: result <- Map.lookup lname newlt
> > 
> > Ah ok, so that's the change in Map.lookup to return Maybe rather than in
> > any monad. So that's an easy source code fix:
> > 
> > result <- maybe (fail "Arrgh!") return (Map.lookup lname newlt)
> 
> There are actually more instances than this in the code, but I already
> have fixed it in my git tree.  I guess it's time to make a release.

Yay!

Between that and a bump for the time lib we'll probably have another ~50
packages building with 6.10.

Duncan



More information about the Glasgow-haskell-users mailing list