[Haskell-beginners] Change in type that I don't understand

Daniel Trstenjak daniel.trstenjak at gmail.com
Fri Jan 27 12:08:35 UTC 2017


Hi Jan,

> Here is something that I don't understand, why does the named value have a
> different type than just the value itself?

Looks like a bug in your ghci version.

With version 7.10.2 I'm getting:

> :t g
g :: Num a => [a -> a]


Grettings,
Daniel


More information about the Beginners mailing list