[Haskell-cafe] Re: Why 'round' does not just round numbers ?

Lennart Augustsson lennart at augustsson.net
Tue Oct 28 04:27:10 EDT 2008


You're assuming newbies from a bad educational system that hasn't
taught them how to round properly. :)

  -- Lennart

On Mon, Oct 27, 2008 at 10:15 PM, Bart Massey <bart at cs.pdx.edu> wrote:
> I think given that the Haskell 98 Report is pretty explicit
> about the behavior of round, we're stuck with it, but I
> don't like it.  It's yet another tiny impediment to Haskell
> newbies, as demonstrated by the original post.  (I'm not at
> all opposed to having a round-to-even function; it should
> just be called roundHalfEven to make it clear what it
> does. If it were up to me, I would probably elide the name
> "round" altogether in favor of roundHalfEven.)


More information about the Haskell-Cafe mailing list