Thank you for these excellent explanations.
Best regards,
Jerz
--
View this message in context:
http://haskell.1045720.n5.nabble.com/a-simple-question-about-types-tp3269519p3272344.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
Daniel Fischer daniel.is.fisc...@web.de writes:
On Wednesday 17 November 2010 19:09:16, Jerzy M wrote:
Hallo,
let me take this simple function: (2*).
If I check its type
:t (2*)
I'll obtain
(2*) :: (Num a) = a - a
But now it suffices to write
g = (2*)
and check
:t g
to obtain
g