[Haskell-cafe] Re: Data.Map lookup signature
nrolle at web.de
Mon May 11 13:36:52 EDT 2009
It was probalby changed in one of the latest versions
I downloaded the latest and now i'm finde.
2009/5/11 Nico Rolle <nrolle at web.de>:
> Hi everyone.
> The docs in the web on http://www.haskell.org/ghc/docs
> define Data.Map.lookup as follows:
> lookup :: Ord k => k -> Map k a -> Maybe a
> but my version of ghci does i like that:
> Data.Map.lookup :: (Ord k, Monad m) => k -> Data.Map.Map k a -> m a
> but i need the 1. one.
> my version of ghci is 6.8.2
More information about the Haskell-Cafe