[Haskell-cafe] Re: Shouldn't this loop indefinitely => take (last [0..]) [0..]

David Roundy droundy at darcs.net
Fri Apr 4 10:33:03 EDT 2008


On Fri, Apr 04, 2008 at 12:34:54PM +0100, Neil Mitchell wrote:
> >  length, take, drop and index working on machine-sized Ints by default
> >  are really a bit of a wart, aren't they?
> 
> Yes. Also, having strict Int's by default is a bit ugly, in an
> otherwise lazy-by-default language. It's a place where Haskell decided
> to remove mathematical elegance for pragmatic speed...
> 
> (Not that it isn't a worthwhile trade off, but it is still loosing
> something to gain something else)

Personally, I like Ints.
-- 
David Roundy
Department of Physics
Oregon State University


More information about the Haskell-Cafe mailing list