Hello Hugs Users,

do you know why

Hugs> :t 1
1 :: Num a => a


and therefore


Hugs> 1 :: Num a => a
1


is possible under Hugs, whereas 

Hugs> :t (+)
(+) :: Num a => a -> a -> a

and (not?) therefore

Hugs> (+) :: Num a => a -> a -> a
ERROR - Cannot find "show" function for:
*** Expression : (+)
*** Of type    : Integer -> Integer -> Integer


yields the error message shown?

Thank you very much,

Christian,

Haskell beginner

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
Hugs-Users mailing list
Hugs-Users@haskell.org
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to