Thu, 03 May 2001 06:29:35 -0400, Lennart Augustsson <[EMAIL PROTECTED]>
pisze:
> Try this program:
> -- Try commenting out this type signature.
> fun:: (Num a) => a -> Int
Test.hs:7:
Ambiguous type variable(s) `a' in the constraint `Num a'
arising from use of `fun' at Test.hs:7
In the first argument of `g', namely `fun'
In the definition of `ii': g fun
Test.hs:18:
Ambiguous type variable(s) `a' in the constraint `C a'
arising from use of `m' at Test.hs:18
In the first argument of `putStrLn', namely `(m ii)'
In the definition of `main': putStrLn (m ii)
Defaulting applies only when all classes involved are Haskell 98.
hbc, nhc98 and Hugs are not conforming.
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZAST�PCZA
QRCZAK
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
- Re: Implict parameters and monomorphism Rishiyur S. Nikhil
- Re: Implict parameters and monomorphism Andreas Rossberg
- RE: Implict parameters and monomorphism Simon Peyton-Jones
- Re: Implict parameters and monomorphism Jeffrey R. Lewis
- Re: Implict parameters and monomorphism Lennart Augustsson
- Re: Implict parameters and monomorphism John Hughes
- Re: Implict parameters and monomorphism John Hughes
- RE: Implict parameters and monomorphism John Hughes
- RE: Implict parameters and monomorphism Simon Peyton-Jones
- Re: Implict parameters and monomorphism Lennart Augustsson
- Re: Implict parameters and monomorphism Marcin 'Qrczak' Kowalczyk
- Re: Implict parameters and monomorphism Lennart Augustsson
- Re: Implict parameters and monomorphism Andreas Rossberg
- Re: Implict parameters and monomorphism C.Reinke
- Re: Implict parameters and monomorphism Marcin 'Qrczak' Kowalczyk
- Re: Implict parameters and monomorphism C.Reinke
- Re: Implict parameters and monomorphism Lennart Augustsson
- Re: Implict parameters and monomorphism Marcin 'Qrczak' Kowalczyk
- RE: Implict parameters and monomorphism Alastair Reid
- Re: Implict parameters and monomorphism Marcin 'Qrczak' Kowalczyk
