Moreover:

from RealFrac to Int (or Integral): truncate, round, ceiling, or floor, depending on how you want to lose information.

from Num to Int: there is none with such generality, since there are too many conceivable variations.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to