[Haskell-cafe] type inference futility

Felipe Almeida Lessa felipe.lessa at gmail.com
Mon Apr 16 06:23:24 EDT 2007

On 4/16/07, Paul Wankadia <junyer at gmail.com> wrote:
> The following code has ambiguity, but I can't figure out how to get
> around it.  Am I missing something trivial?  Am I going in the wrong
> direction?  Thank you in advance for your time and for any help that
> you can offer.

How about changing

> x <- new


> x <- new :: IO MehQueue


I'm not a professional haskeller, probably there's a better alternative =).



More information about the Haskell-Cafe mailing list