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

[REBOL] Re: to-path newline problem?

From: lmecir:mbox:vol:cz at: 14-Aug-2001 23:15

Hi, ...snip...
> > > ... and, of course, test with all possible datatypes as > > > arguments (and equality tests over all possible generic > > > transformations)
...snip... an interesting idea. If I consider the following functions to be transformations (I am not claiming any "genericity"), I come to: trans1: :type? trans2: :head trans3: :get trans4: :visualize-context ; see http://www.sweb.cz/LMecir/contexts.html trans5: :special? ; as above a: 1 b: 1.0 equal? a b ; == true equal? type? a type? b ; == false a: tail [1] b: tail [2] equal? a b ; == true equal? head a head b ; == false a: use [c] [c: 1 'c] b: use [c] [c: 2 'c] equal? a b ; == true equal? get a get b ; == false a: use [c] [c: 1 'c] b: use [c d] [c: 1 'c] equal? a b ; == true equal? visualize-context a visualize-context b ; == false a: 'c b: first find first system/words 'c equal? a b ; == true equal? special? a special? b ; == false Regards Ladislav