-
-
Save tim2CF/e63c7ff792e26362f356e71c47319494 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prelude Numeric.Natural Data.Ratio> round (4000 % 1 :: Ratio Natural) :: Natural | |
*** Exception: arithmetic underflow | |
Prelude Numeric.Natural Data.Ratio> round (4000 % 1 :: Rational) :: Natural | |
4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment