develooper Front page | perl.perl6.internals | Postings from January 2002

Re: scheme-pairs?

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
January 24, 2002 08:29
Subject:
Re: scheme-pairs?
Message ID:
a05101201b875e7670eb7@[63.120.19.220]
At 4:19 PM +0000 1/24/02, Dave Mitchell wrote:
>Dan Sugalski <dan@sidhe.org> 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. it probably is, yes. (Though there may be potential 
differences--depends on whether the scheme pair can only have scalars 
on each side, or should allow other things)
-- 

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About