[Haskell-cafe] type inference futility

Paul Wankadia junyer at gmail.com
Mon Apr 16 07:46:42 EDT 2007


Felipe Almeida Lessa <felipe.lessa at gmail.com> wrote:

> How about changing
>
> > x <- new
>
> to
>
> > x <- new :: IO MehQueue
>
> ?

Is it impossible for the compiler to infer the type from the methods called?

(-fweird-strange-sick-twisted-eerie-godless-evil-stuff!-and-i-want-in.)


More information about the Haskell-Cafe mailing list