On Thursday 21 August 2003 23:39, Tom Pledger wrote:

> Try
>
>     x :: Fractional a => a
>     x = 0.5
>
> instead.  That way, the type signature is in the right place to
> prevent defaulting.

Right - thanks!

Konrad.

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to