[Haskell-beginners] unwanted Fractional constraint