Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Puzzle with FIND and SELECT

From: joel:neely:fedex at: 7-Feb-2003 12:34

Hi, Romano, Yes, although without access to the design specs I can't say whether it is a design bug or an implementation bug. Romano Paolo Tenca wrote:
> don't you think that this is a bug? > > >> same? to-decimal 3 to-integer 3 > == true >
Furthermore... I now believe that the following is a misfeature:
>> print 3.0
3 With any "subtype" of ANY-STRING! (for example) the format of the external syntax/representation suffices to allow the user to tell *at*a*glance* the type of a value: "this is a string" {this is another string} <this type="tag" confidence="obviously"> %no/doubt/a/file and so on. I propose that the same should be true for DECIMAL! versus INTEGER! values, with a radix point guaranteed in the result of FORM or MOLD or any other such conversion of DECIMAL! values, so that (e.g.) print 3.0 would output 3. or 3.0 (I really don't care which, as long as the radix point is there). -jn- -- ---------------------------------------------------------------------- Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446 Atlanta, Ga. - Scientists at the Centers for Disease Control today confirmed that hoof-and-mouth disease cannot be spread by Microsoft's Outlook email application, believed to be the first time the program has ever failed to propagate a major virus.