>John O'Donnell writes:
> > The Floating types should be called Floating, and the name Real
> > should be reserved for numbers that actually obey the algebraic
> > laws for real numbers.
>
>Here's an issue with the naming scheme proposed above: how many
>non-mathematician users will become confused by subtle semantic and/or
>performance issues when they declare a "Real" when they meant
>"Floating"?  I doubt that this naming distinction will raise the
>required "mental question-mark" to the novice Haskell programmer.

  The idea with calling the floating numbers floating numbers is that it is
possible to implement real numbers too, as in computer algebra programs.

  Hans Aberg
                  * Email: Hans Aberg <mailto:[EMAIL PROTECTED]>
                  * Home Page: <http://www.matematik.su.se/~haberg/>
                  * AMS member listing: <http://www.ams.org/cml/>



Reply via email to