2009/10/7 michael rice <nowg...@yahoo.com>
>
> Actually I used it to fake the Pascal ord(x) function:
>
> ord = fromEnum
>
> Problem?
>
> Michael
>

If the monomorphism restriction applies, the compiler (assuming you're
using GHC) will tell you about it.

--
Deniz Dogan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to