[Haskell-beginners] Help with types

Jason Dusek jason.dusek at gmail.com
Thu Apr 23 10:33:01 EDT 2009

2009/04/23 Daniel Carrera <daniel.carrera at theingots.org>:
> ...if it is at all possible for a Num to contain something
> that cannot be converted to a fraction, then a Num should not
> be a valid input for (/).

  And it isn't.

    Prelude> :t (/)
    (/) :: forall a. (Fractional a) => a -> a -> a

Jason Dusek

More information about the Beginners mailing list