How can I use fractions in Idris?

Viewed 214

When I attempt to divide one integer by another, I get the following message:

Idris> 6 / 8
Can't find implementation for Fractional Integer

What exactly does this mean? How can I use rational numbers in Idris?

1 Answers
Related