
10 Oct
2008
10 Oct
'08
6:42 p.m.
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