thoughts? sure ... promises no.
overall geuss, your decimal! is interperted as an integer. either the set of bits begins with 1 it is taken as a negative skip and since before the head is still the head, the block is returned orherwise the set of bits is interpeted as a large positive skip value and beyond the tail is still the tail so the tail of tour block is returned. time to test the theory >> a: [ 1 2 3] == [1 2 3] >> b: tail a == [] >> c: skip a 99999999999999999999 == [] >> equal? b c == true >> d: head a == [1 2 3] >> f: skip a 999999999999999999999 == [1 2 3] >> equal? d f == true at least it does not disprove the theory :) On Wed, 15 May 2002, Gregg Irwin wrote: > OK, I'm not expecting to ever need the use values this large with SKIP, but > I'm a little puzzled by the behavior. > > >> skip [1 2 3] 99999999999999999999 > == [] > >> skip [1 2 3] 999999999999999999999 > == [1 2 3] > > >> skip [1 2 3] -99999999999999999 > == [1 2 3] > >> skip [1 2 3] -999999999999999999 > == [] > >> skip [1 2 3] -9999999999999999999 > == [] > >> skip [1 2 3] -99999999999999999999 > == [] > >> skip [1 2 3] -999999999999999999999 > == [1 2 3] > > Any thoughts? > > --Gregg > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.