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.
- error:Instance of Fractional Int required Sebastian Schulz
- Re: error:Instance of Fractional Int requir... Hannah Schroeter
- Re: error:Instance of Fractional Int requir... Andy Gill
- Re: error:Instance of Fractional Int requir... Marcin 'Qrczak' Kowalczyk
