Thanks!

$ ghci -XNoMonomorphismRestriction

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

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

Cool.

-Greg


On Tue, May 22, 2012 at 12:34 PM, Artyom Kazak <[email protected]>wrote:

> http://www.haskell.org/**haskellwiki/Monomorphism_**restriction<http://www.haskell.org/haskellwiki/Monomorphism_restriction>
>
>
> ______________________________**_________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/**mailman/listinfo/haskell-cafe<http://www.haskell.org/mailman/listinfo/haskell-cafe>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to