In ghci 7.4.1:

Prelude> :t (+1)
(+1) :: Num a => a -> a

Prelude> let inc=(+1)
Prelude> :t inc
inc :: Integer -> Integer

Why the difference?

Thanks,
Greg
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to