The Hidden Dangers of Haskell's Ratio Type

The Hidden Dangers of Haskell’s Ratio Type.
Haskell’s Rational datatype is useful, but using a type other than Integer with Ratio leads to surprises.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Corresponding tweet for this thread:

Share link for this tweet.