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

[REBOL] Re: new puzzle on sameness 1

From: lmecir:mbox:vol:cz at: 14-Feb-2003 7:34

Hi, the solution of the puzzle is below, although I am not sure, that it shows any properties of sameness:
> This is the puzzle (real trascription of a console session): > > >> a1: 0 > == 0 > >> a2: a1 > == 0 > >> a3: a1 > == 0 > >> identical? a1 a2 > == true > >> identical? a1 a3 > == true > >> identical? a2 a3 > == true > >> a1: 1 > == 1 > >> identical? a1 a2 > == true > >> identical? a1 a3 > == false > >> identical? a2 a3 > == false > >> a1 > == 1 > >> a2 > == 1 > >> a3 > == 0 > > --- > Ciao > Romano
Spoiler warning line ----------------------- alias 'a1 "a2" etc.