Re: Idea

2002-05-23 Thread Miko O'Sullivan
From: Chris Angell [EMAIL PROTECTED] I have an idea for the int() function. I think it would be cool if it returned false/undefined when the argument passed to it is a whole number. This is related to something I've been pondering about variables and typing. Question A: In Perl6, how are

Re: Idea

2002-05-23 Thread Dan Sugalski
At 8:11 PM -0400 5/23/02, Miko O'Sullivan wrote: From: Chris Angell [EMAIL PROTECTED] I have an idea for the int() function. I think it would be cool if it returned false/undefined when the argument passed to it is a whole number. This is related to something I've been pondering about

Re: Idea

2002-05-23 Thread Luke Palmer
The rest of this message assumes that the answer to A is run time error. I'm not sure that's correct. Might just be a runtime warning, I would assume not. How can we optimize if we just make it a warning?