Dave Mitchell <[EMAIL PROTECTED]> writes: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > That was my biggest objection. I like the thought of having a scheme > > pair data type. The interpreter should see it, and it should be > > accessed, as a restricted array, one with only two entries. > > Is this then the same datatype as a Perl6 pair (cf '=>' op in Apo 3) ??
Good point. The only difference might be the print-method (or stringfy). Perl6 would print "left => right" and Scheme would print "(left . right)" or if right is also a pair "(left middle . right)" bye Jürgen