Hello!

On Sun, May 07, 2000 at 06:23:33PM +0000, Sebastian Schulz wrote:
> [...]

> shorten :: (Int,Int) -> (Int,Int)
> shorten (a,b) = ( a/(ggt a b) , b/(ggt a b) )

> error: Instance of Fractional Int  required for definition of shorten 

You should use `quot` or `div`.

Regards, Hannah.

Reply via email to