Breakage with ghc-6.10
jgoerzen at complete.org
Fri Oct 10 14:29:08 EDT 2008
Duncan Coutts wrote:
> Ok, lets look at hslogger:
> 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.
> Note of course this will also work with the previous implementation of
More information about the Glasgow-haskell-users